]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4629a1abff0a837aec91625ec4eaaad23699e105
treebd07e251745427f767a77f5dc9666eea27b545e4
parentc94a933a8896c1d5f19376369a51584439bb1fbd
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