aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_inode.h
diff options
context:
space:
mode:
authorDarrick J. Wong <[email protected]>2024-11-21 00:20:17 +0000
committerDarrick J. Wong <[email protected]>2024-12-23 21:06:02 +0000
commit505248719fcbf2c76594fe2ef293680d97fe426c (patch)
treeec81d5a035ae8ee37b5e5049bddf6ca5902eebb0 /fs/xfs/xfs_inode.h
parentxfs: hoist the node iroot update code out of xfs_btree_new_iroot (diff)
downloadkernel-505248719fcbf2c76594fe2ef293680d97fe426c.tar.gz
kernel-505248719fcbf2c76594fe2ef293680d97fe426c.zip
xfs: hoist the node iroot update code out of xfs_btree_kill_iroot
In preparation for allowing records in an inode btree root, hoist the code that copies keyptrs from an existing node child into the root block to a separate function. Remove some unnecessary conditionals and clean up a few function calls in the new function. Note that this change reorders the ->free_block call with respect to the change in bc_nlevels to make it easier to support inode root leaf blocks in the next patch. Signed-off-by: "Darrick J. Wong" <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_inode.h')
0 files changed, 0 insertions, 0 deletions