Commit fb95897
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: ea6c49b ("xfs: support CoW in fsdax mode")
Cc: [email protected] # v6.0
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Wentao Liang <[email protected]>
Signed-off-by: Carlos Maiolino <[email protected]>1 parent f5f0ed8 commit fb95897
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
976 | 976 | | |
977 | 977 | | |
978 | 978 | | |
979 | | - | |
980 | | - | |
981 | | - | |
982 | | - | |
| 979 | + | |
| 980 | + | |
983 | 981 | | |
984 | 982 | | |
985 | 983 | | |
| |||
0 commit comments