]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
xfs: change xfs_iwalk_grab_ichunk to use startino, not lastino
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 2 Jul 2019 16:39:41 +0000 (09:39 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 2 Jul 2019 16:40:05 +0000 (09:40 -0700)
commit5e29f3b720834e8b5cdfbaf475f51ef55ca8b945
treec372f4301bc878c84ee894a915e083d619ed6767
parentda1d9e5912477c2f090202052ddd2a77cea6669c
xfs: change xfs_iwalk_grab_ichunk to use startino, not lastino

Now that the inode chunk grabbing function is a static function in the
iwalk code, change its behavior so that @agino is the inode where we
want to /start/ the iteration.  This reduces cognitive friction with the
callers and simplifes the code.

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