diff options
author | Wentao Liang <vulab@iscas.ac.cn> | 2025-01-24 11:45:09 +0800 |
---|---|---|
committer | Carlos Maiolino <cem@kernel.org> | 2025-01-27 11:42:48 +0100 |
commit | 26b63bee2f6e711c5a169997fd126fddcfb90848 (patch) | |
tree | 466d29255fb4c2df3227f18c35dc80a933b1f373 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | fb95897b8c60653805aa09daec575ca30983f768 (diff) |
xfs: Add error handling for xfs_reflink_cancel_cow_range
In xfs_inactive(), xfs_reflink_cancel_cow_range() is called
without error handling, risking unnoticed failures and
inconsistent behavior compared to other parts of the code.
Fix this issue by adding an error handling for the
xfs_reflink_cancel_cow_range(), improving code robustness.
Fixes: 6231848c3aa5 ("xfs: check for cow blocks before trying to clear them")
Cc: stable@vger.kernel.org # v4.17
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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions