summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorJianyun Gao <jianyungao89@gmail.com>2026-10-15 22:34:25 +0800
committerAlison Schofield <alison.schofield@intel.com>2026-10-19 09:43:01 -0700
commit9b036546a02c6c9a5133f9c1e93503896595c6ba (patch)
tree174fd3c41653b0108312047d5025f9c21459bdc5 /tools/lib/python/kdoc/python_version.py
parentdf6cc0a24717c38ac81b5ba1e839c35e74e667dc (diff)
dax: fix wrong error code returned from dax_dedupe_file_range_compare()
When dax_range_compare_iter() returns a negative error code (e.g. -EIO), dax_dedupe_file_range_compare() incorrectly returns 'ret' which holds the positive return value from iomap_iter() indicating more iterations remain. This positive value leaks to the caller, where vfs_dedupe_file_range() interprets it as success (bytes_deduped = len), causing userspace to incorrectly believe deduplication completed. Return 'status' instead to propagate the actual error code. Fixes: 0e79e3736d54 ("fsdax: dedupe: iter two files at the same time") Cc: stable@vger.kernel.org Signed-off-by: Jianyun Gao <jianyungao89@gmail.com> Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: "Darrick J. Wong" <djwong@kernel.org> Link: https://patch.msgid.link/20261015143426.17620-1-jianyungao89@gmail.com Signed-off-by: Alison Schofield <alison.schofield@intel.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions