]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: hoist the code that moves the incore inode fork broot memory
authorDarrick J. Wong <djwong@kernel.org>
Wed, 3 Jul 2024 21:22:13 +0000 (14:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 31 Jul 2024 01:46:53 +0000 (18:46 -0700)
commit179b654ca2f66ee222e414c1e4fd6cc60d8ee2fc
treef838f20aa4a582a0d3750fc27a4ecb334d3f1f37
parentcf4c8bfd9d8f36b56106cdd31a28b553136b46a7
xfs: hoist the code that moves the incore inode fork broot memory

Whenever we change the size of the memory buffer holding an inode fork
btree root block, we have to copy the contents over.  Refactor all this
into a single function that handles both, in preparation for making
xfs_iroot_realloc more generic.

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