]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
xfs: refactor xfs_iwalk_grab_ichunk
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 2 Jul 2019 16:39:42 +0000 (09:39 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 2 Jul 2019 16:40:06 +0000 (09:40 -0700)
commit2b5eb826011b48122a52085ab8f5ddb72749fc60
tree3cd5a6ad442ec43e462bc20d5c003743d40272ab
parent688f7c367877eaefc4fb130ae30f2e580c22015c
xfs: refactor xfs_iwalk_grab_ichunk

In preparation for reusing the iwalk code for the inogrp walking code
(aka INUMBERS), move the initial inobt lookup and retrieval code out of
xfs_iwalk_grab_ichunk so that we call the masking code only when we need
to trim out the inodes that came before the cursor in the inobt record
(aka BULKSTAT).

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
fs/xfs/xfs_iwalk.c