Unverified Commit c7529792 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files
parents 25571440 5ae40a2e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -968,6 +968,8 @@ 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:
@@ -3258,7 +3260,6 @@ 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)) {
+0 −1
Original line number Diff line number Diff line
@@ -36,7 +36,6 @@ get_ext_path(struct inode *inode, ext4_lblk_t lblock,
		*ppath = NULL;
		return -ENODATA;
	}
	*ppath = path;
	return 0;
}