Skip to content
Commit fb95897b authored by Wentao Liang's avatar Wentao Liang Committed by Carlos Maiolino
Browse files

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: ea6c49b7 ("xfs: support CoW in fsdax mode")
Cc: stable@vger.kernel.org # v6.0
Reviewed-by: default avatarDarrick J. Wong <djwong@kernel.org>
Signed-off-by: default avatarWentao Liang <vulab@iscas.ac.cn>
Signed-off-by: default avatarCarlos Maiolino <cem@kernel.org>
parent f5f0ed89
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment