diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index e29b55991e8f32854f44a599541f1d7d217d658a..257e0b2b0e6454e5523c0fad5e625832c7668350 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c @@ -2152,6 +2152,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;