]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: prepare refcount functions to deal with rtrefcountbt
authorDarrick J. Wong <djwong@kernel.org>
Mon, 23 Sep 2024 20:42:25 +0000 (13:42 -0700)
committerChristoph Hellwig <hch@lst.de>
Wed, 9 Oct 2024 13:55:48 +0000 (15:55 +0200)
commit831da2e7347044749a6c5e0ee67832ab2ce207b4
treed4c736bb658bff14c023f20d704acd35b97a3af9
parent6c91933989bb0b37671e72cd1efcc069f2b5c33b
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