diff options
author | 2024-07-02 11:23:11 -0700 | |
---|---|---|
committer | 2024-07-02 11:37:07 -0700 | |
commit | e51987a12cb57ca3702bff5df8a615037b2c8f8a (patch) | |
tree | d6c7bd346efe0ee5ffd07bf065224c93820ad797 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | xfs: don't bother calling xfs_refcount_finish_one_cleanup in xfs_refcount_finish_one (diff) | |
download | wireguard-linux-e51987a12cb57ca3702bff5df8a615037b2c8f8a.tar.xz wireguard-linux-e51987a12cb57ca3702bff5df8a615037b2c8f8a.zip |
xfs: simplify usage of the rcur local variable in xfs_refcount_finish_one
Only update rcur when we know the final *pcur value.
Inspired-by: Christoph Hellwig <hch@lst.de>
[djwong: don't leave the caller with a dangling ref]
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions