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_rmap_btree.c | |
parent | 88ee2f4849119b82b95d6e8e2d9daa81214eb080 (diff) |
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_rmap_btree.c')
0 files changed, 0 insertions, 0 deletions