]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: create helpers to deal with rounding xfs_fileoff_t to rtx boundaries
authorDarrick J. Wong <djwong@kernel.org>
Mon, 4 Nov 2024 04:19:32 +0000 (20:19 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:38:43 +0000 (13:38 -0800)
commitfd7588fa6475771fe95f44011aea268c5d841da2
treee02f8aff04afbcaf0c27903354b87a3b8887147e
parentea99122b18ca6cf902417e1acbc19a197f662299
xfs: create helpers to deal with rounding xfs_fileoff_t to rtx boundaries

We're about to segment xfs_rtblock_t addresses, so we must create
type-specific helpers to do rt extent rounding of file block offsets
because the rtb helpers soon will not do the right thing there.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_rtbitmap.h
fs/xfs/xfs_bmap_util.c