]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: tidy up xfs_bmap_broot_realloc a bit
authorDarrick J. Wong <djwong@kernel.org>
Thu, 21 Nov 2024 00:24:46 +0000 (16:24 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 28 Nov 2024 02:33:20 +0000 (18:33 -0800)
commit02be622998b2e45d80f0848f64a79ceeb180085d
tree985b62e8d0e4dde1d0ea9666b5040bf32d5b89ba
parentd0d420891bd7ac717ca36a5983f9607777214900
xfs: tidy up xfs_bmap_broot_realloc a bit

Hoist out the code that migrates broot pointers during a resize
operation to avoid code duplication and streamline the caller.  Also
use the correct bmbt pointer type for the sizeof operation.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
libxfs/xfs_bmap_btree.c