diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2024-02-22 12:37:24 -0800 |
|---|---|---|
| committer | Darrick J. Wong <djwong@kernel.org> | 2024-02-22 12:37:24 -0800 |
| commit | f73def90a7cd24a32a42f689efba6a7a35edeb7b (patch) | |
| tree | 4a14832279c19c57b71780a507b8404911a8771d /fs/xfs/libxfs/xfs_ialloc_btree.c | |
| parent | xfs: split the per-btree union in struct xfs_btree_cur (diff) | |
| download | linux-f73def90a7cd24a32a42f689efba6a7a35edeb7b.tar.gz linux-f73def90a7cd24a32a42f689efba6a7a35edeb7b.zip | |
xfs: create predicate to determine if cursor is at inode root level
Create a predicate to decide if the given cursor and level point to the
root block in the inode immediate area instead of a disk block, and get
rid of the open-coded logic everywhere.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/libxfs/xfs_ialloc_btree.c')
0 files changed, 0 insertions, 0 deletions
