diff options
| author | Carlos Maiolino <cem@kernel.org> | 2026-09-24 17:16:29 +0200 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-10-05 12:07:48 +0200 |
| commit | f4922f6fb12b18ff1efe7cf5a46c187a07b7f9ea (patch) | |
| tree | c46e5a28fa5edb1754f8e75fbdde01130b32b711 /tools/perf/scripts/python | |
| parent | b3837dc0c73143f86549c3808e0323a47fe739ad (diff) | |
xfs: introduce xfs_trans_cancel_error()
Once in a while it's useful to know exactly what kind of error caused a
transaction to be cancelled. Currently xfs_trans_cancel() is unable to
print out this information. So rename old xfs_trans_cancel to
xfs_trans_cancel_error() which will accept an error code to be printed
and add a new inline xfs_trans_cancel() to be used on places where an
error number report is not explicitly needed (and also avoid dozens of
file modifications to the new API).
Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
