diff options
author | Wentao Liang <vulab@iscas.ac.cn> | 2025-01-24 06:22:28 +0300 |
---|---|---|
committer | Carlos Maiolino <cem@kernel.org> | 2025-01-27 13:40:57 +0300 |
commit | fb95897b8c60653805aa09daec575ca30983f768 (patch) | |
tree | 305ddffd53fc3b10292c6debbc0c579ea5801244 /lib/mpi/mpi-sub-ui.c | |
parent | f5f0ed89f13e3e5246404a322ee85169a226bfb5 (diff) | |
download | linux-fb95897b8c60653805aa09daec575ca30983f768.tar.xz |
xfs: Propagate errors from xfs_reflink_cancel_cow_range in xfs_dax_write_iomap_end
In xfs_dax_write_iomap_end(), directly return the result of
xfs_reflink_cancel_cow_range() when !written, ensuring proper
error propagation and improving code robustness.
Fixes: ea6c49b784f0 ("xfs: support CoW in fsdax mode")
Cc: stable@vger.kernel.org # v6.0
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Wentao Liang <vulab@iscas.ac.cn>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions