diff options
author | 2024-04-22 13:20:12 +0200 | |
---|---|---|
committer | 2024-04-22 18:00:47 +0530 | |
commit | f30f656e25eb72c4309e76b16fa45062e183a2ee (patch) | |
tree | b097332fb140ac64fbaa8f7a0d5a66358e8c83e2 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | xfs: block deltas in xfs_trans_unreserve_and_mod_sb must be positive (diff) | |
download | wireguard-linux-f30f656e25eb72c4309e76b16fa45062e183a2ee.tar.xz wireguard-linux-f30f656e25eb72c4309e76b16fa45062e183a2ee.zip |
xfs: split xfs_mod_freecounter
xfs_mod_freecounter has two entirely separate code paths for adding or
subtracting from the free counters. Only the subtract case looks at the
rsvd flag and can return an error.
Split xfs_mod_freecounter into separate helpers for subtracting or
adding the freecounter, and remove all the impossible to reach error
handling for the addition case.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions