]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: prepare refcount functions to deal with rtrefcountbt
authorDarrick J. Wong <djwong@kernel.org>
Tue, 9 Jan 2024 17:44:22 +0000 (09:44 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 10 Apr 2024 00:21:46 +0000 (17:21 -0700)
commit752ab978dd08056003665c20986582dd9f904d78
tree55799eeb1ebd6e1352ada3b4b45afada7e6196ce
parent9c4da823c71d0d659d5626ca0b29ed06beed79e2
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>
libxfs/xfs_refcount.c
libxfs/xfs_refcount.h