diff options
| author | 2026-10-02 16:08:11 -0500 | |
|---|---|---|
| committer | 2026-10-08 13:12:28 +0200 | |
| commit | 1d55a10278054fbebb9f571c99c32dac42327361 (patch) | |
| tree | 59b0dcc064c62c913836ec539abe3928ac3b7754 /scripts/Makefile.thinlto | |
| parent | xfs: factor out xrep_reset_fork_to_extents helper for scrub/repair (diff) | |
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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
