diff options
| author | Eric Sandeen <sandeen@redhat.com> | 2026-10-02 16:08:11 -0500 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-10-08 13:12:28 +0200 |
| commit | 1d55a10278054fbebb9f571c99c32dac42327361 (patch) | |
| tree | 59b0dcc064c62c913836ec539abe3928ac3b7754 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 1e3f1adf6d533b503bc2356129bd7e27c199ad5b (diff) | |
| download | linux-1d55a10278054fbebb9f571c99c32dac42327361.tar.gz linux-1d55a10278054fbebb9f571c99c32dac42327361.zip | |
xfs: re-use refcount scrub/repair code for rtrefcount
Some code in scrub/rtrefcount.c is copied from scrub/refcount.c; it
differs only in function & structure names and a couple types and
macros, which share the same underlying types and values.
Similarly for code in fs/xfs/scrub/[rt]refcount_repair.c
Make the refcount versions non-static and use them for rtrefcount scrubbing,
eliminate the copies, and add build-time asserts so that the type/value
matches mentioned above do not drift.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
