diff options
| author | Wentao Liang <vulab@iscas.ac.cn> | 2025-01-24 11:22:28 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-17 10:05:30 +0100 |
| commit | a5e7a81e3a602f3617e507d2d5f2fe4300a66619 (patch) | |
| tree | 3e935995aff455b11897b3a2b9ce87d068ab3daa /lib/debugobjects.c | |
| parent | 88678371a53e8b7826fa830a3d52772814e84c98 (diff) | |
| download | linux-a5e7a81e3a602f3617e507d2d5f2fe4300a66619.tar.gz linux-a5e7a81e3a602f3617e507d2d5f2fe4300a66619.tar.bz2 linux-a5e7a81e3a602f3617e507d2d5f2fe4300a66619.zip | |
xfs: Propagate errors from xfs_reflink_cancel_cow_range in xfs_dax_write_iomap_end
commit fb95897b8c60653805aa09daec575ca30983f768 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
