diff options
| author | Darrick J. Wong <[email protected]> | 2024-11-21 00:20:16 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2024-12-23 21:06:02 +0000 |
| commit | 7708951ae52132d3c4e05aee2e57d35f0d89bd49 (patch) | |
| tree | 8a6bf0b5eb3c60a6486af85fc50745f0b12dd10e /fs/xfs/libxfs/xfs_inode_fork.c | |
| parent | xfs: tidy up xfs_bmap_broot_realloc a bit (diff) | |
| download | kernel-7708951ae52132d3c4e05aee2e57d35f0d89bd49.tar.gz kernel-7708951ae52132d3c4e05aee2e57d35f0d89bd49.zip | |
xfs: hoist the node iroot update code out of xfs_btree_new_iroot
In preparation for allowing records in an inode btree root, hoist the
code that copies keyptrs from an existing node root into a child block
to a separate function. Note that the new function explicitly computes
the keys of the new child block and stores that in the root block; while
the bmap btree could rely on leaving the key alone, realtime rmap needs
to set the new high key.
Signed-off-by: "Darrick J. Wong" <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'fs/xfs/libxfs/xfs_inode_fork.c')
0 files changed, 0 insertions, 0 deletions
