]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: prepare refcount functions to deal with rtrefcountbt
authorDarrick J. Wong <djwong@kernel.org>
Thu, 21 Nov 2024 00:20:49 +0000 (16:20 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 23 Dec 2024 21:06:10 +0000 (13:06 -0800)
commit01cef1db246ee8b094fca6df23ea6d4335748181
tree9319ac04fdcc8c9e8b2fb01cc1fdd3c30ea0818a
parent1a6f88ea538db9b3d8aef86112894e7e6d098287
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>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_refcount.c
fs/xfs/libxfs/xfs_refcount.h