diff options
| author | Darrick J. Wong <[email protected]> | 2024-11-21 00:20:14 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2024-12-23 21:06:02 +0000 |
| commit | 6a92924275ecdd768c8105f8975b971300c5ba7d (patch) | |
| tree | 076ca3c38323e5edb73c0276a63566077045bf9a /fs/xfs/xfs_exchrange.c | |
| parent | xfs: refactor the inode fork memory allocation functions (diff) | |
| download | kernel-6a92924275ecdd768c8105f8975b971300c5ba7d.tar.gz kernel-6a92924275ecdd768c8105f8975b971300c5ba7d.zip | |
xfs: make xfs_iroot_realloc take the new numrecs instead of deltas
Change the calling signature of xfs_iroot_realloc to take the ifork and
the new number of records in the btree block, not a diff against the
current number. This will make the callsites easier to understand.
Note that this function is misnamed because it is very specific to the
single type of inode-rooted btree supported. This will be addressed in
a subsequent patch.
Return the new btree root to reduce the amount of code clutter.
Signed-off-by: "Darrick J. Wong" <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_exchrange.c')
0 files changed, 0 insertions, 0 deletions
