Revert "ext4: update orig_path in ext4_find_extent()"
This reverts commit 39b44a0c92
.
This commit is contained in:
parent
3b0ddcb83c
commit
2f34213701
2 changed files with 2 additions and 2 deletions
|
@ -949,8 +949,6 @@ ext4_find_extent(struct inode *inode, ext4_lblk_t block,
|
|||
|
||||
ext4_ext_show_path(inode, path);
|
||||
|
||||
if (orig_path)
|
||||
*orig_path = path;
|
||||
return path;
|
||||
|
||||
err:
|
||||
|
@ -3247,6 +3245,7 @@ static int ext4_split_extent_at(handle_t *handle,
|
|||
}
|
||||
depth = ext_depth(inode);
|
||||
ex = path[depth].p_ext;
|
||||
*ppath = path;
|
||||
|
||||
if (EXT4_EXT_MAY_ZEROOUT & split_flag) {
|
||||
if (split_flag & (EXT4_EXT_DATA_VALID1|EXT4_EXT_DATA_VALID2)) {
|
||||
|
|
|
@ -36,6 +36,7 @@ get_ext_path(struct inode *inode, ext4_lblk_t lblock,
|
|||
*ppath = NULL;
|
||||
return -ENODATA;
|
||||
}
|
||||
*ppath = path;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue