diff options
author | 2024-11-20 16:20:17 -0800 | |
---|---|---|
committer | 2024-12-23 13:06:02 -0800 | |
commit | 505248719fcbf2c76594fe2ef293680d97fe426c (patch) | |
tree | ec81d5a035ae8ee37b5e5049bddf6ca5902eebb0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xfs: hoist the node iroot update code out of xfs_btree_new_iroot (diff) | |
download | wireguard-linux-505248719fcbf2c76594fe2ef293680d97fe426c.tar.xz wireguard-linux-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" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions