diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index d76e25f9bb62a0..062309e822cfa8 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c @@ -2100,6 +2100,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;