diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index c8e7676f6af908..b431fcfb6ef8ed 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c @@ -2116,6 +2116,7 @@ int ext4_ext_insert_extent(handle_t *handle, struct inode *inode, ppath, newext); if (err) goto cleanup; + path = *ppath; depth = ext_depth(inode); eh = path[depth].p_hdr;