xfs: get our own reference to inodes that we want to scrub
authorDarrick J. Wong <djwong@kernel.org>
Thu, 10 Aug 2023 14:48:08 +0000 (07:48 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 10 Aug 2023 14:48:08 +0000 (07:48 -0700)
commit17308539507c710682409d429746695c74c51336
tree516703b9b95bd03ced2ef591eaaea974f10404a9
parentd7a74cad8f45133935c59ed0adf949f85238624b
xfs: get our own reference to inodes that we want to scrub

When we want to scrub a file, get our own reference to the inode
unconditionally.  This will make disposal rules simpler in the long run.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/scrub/common.c
fs/xfs/scrub/common.h
fs/xfs/scrub/inode.c
fs/xfs/scrub/quota.c
fs/xfs/scrub/rtbitmap.c
fs/xfs/scrub/scrub.c