]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: prepare refcount functions to deal with rtrefcountbt
authorDarrick J. Wong <djwong@kernel.org>
Sat, 21 Sep 2024 04:51:36 +0000 (06:51 +0200)
committerChristoph Hellwig <hch@lst.de>
Sun, 22 Sep 2024 08:48:21 +0000 (10:48 +0200)
commit39a40957acac83b7497bbde3792fd88dbf615675
tree70ba4d39258b84b7d5149da01a33347a12e2e8a1
parent4a2f02cea9c6a6ad0fc72d88432aa9b79cc8826d
xfs: prepare refcount functions to deal with rtrefcountbt

Prepare the high-level refcount functions to deal with the new realtime
refcountbt and its slightly different conventions.  Provide the ability
to talk to either refcountbt or rtrefcountbt formats from the same high
level code.

Note that we leave the _recover_cow_leftovers functions for a separate
patch so that we can convert it all at once.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/libxfs/xfs_refcount.c
fs/xfs/libxfs/xfs_refcount.h