diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index 51df12484372..809e50595a71 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c @@ -2103,6 +2103,7 @@ prepend: ppath, newext); if (err) goto cleanup; + path = *ppath; depth = ext_depth(inode); eh = path[depth].p_hdr;