Files
Linux/fs
Christoph Hellwig 802f91f7b1 xfs: fold xfs_bmbt_init_common into xfs_bmbt_init_cursor
Make the levels initialization in xfs_bmbt_init_cursor conditional
and merge the two helpers.

This requires the fakeroot case to now pass a -1 whichfork directly
into xfs_bmbt_init_cursor, and some special casing for that, but
at least this scheme to deal with the fake btree root is handled and
documented in once place now.

Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
[djwong: tidy up a multline ternary]
Signed-off-by: Darrick J. Wong <[email protected]>
2024-02-22 12:39:44 -08:00
..
2023-12-29 11:58:34 -08:00
…
…
…
…
2024-01-06 23:49:50 +01:00
2023-12-21 13:17:54 +01:00
…
…
2023-12-12 14:24:14 +01:00
…
…
…
…
2023-11-25 02:49:43 -05:00
…
…
…
…
…
…
…
…