xfs: move the quotaoff dqrele inode walk into xfs_icache.c
authorDarrick J. Wong <djwong@kernel.org>
Mon, 31 May 2021 18:31:57 +0000 (11:31 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 3 Jun 2021 22:56:02 +0000 (15:56 -0700)
commit1ad2cfe0a57031505df682dc1e26922d9d43737f
treebd07e251745427f767a77f5dc9666eea27b545e4
parent977ec4ddf0b75b30afa443cf71ae80e20f501b15
xfs: move the quotaoff dqrele inode walk into xfs_icache.c

The only external caller of xfs_inode_walk* happens in quotaoff, when we
want to walk all the incore inodes to detach the dquots.  Move this code
to xfs_icache.c so that we can hide xfs_inode_walk as the starting step
in more cleanups of inode walks.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/xfs_icache.c
fs/xfs/xfs_icache.h
fs/xfs/xfs_qm.h
fs/xfs/xfs_qm_syscalls.c