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