diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index 2b21d738805476..62c0cb6ed6b6a1 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c @@ -2103,6 +2103,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;