]> 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>
Tue, 16 Jul 2024 22:49:18 +0000 (15:49 -0700)
commit65b0d638005417fade1acdff6e720e55d38cddba
tree383dbaaf85eca432b5e107167af4e5dc522c2447
parent57356dd2e9306a2411a704472b0c9e983460c144
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