]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: consolidate scrub dinode mapping code into a single function
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 1 Feb 2019 17:08:52 +0000 (09:08 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 12 Feb 2019 00:06:39 +0000 (16:06 -0800)
commit92944f5395d38c28cd6322ab6cc531211a10ed97
treed98ef6dd8e8e7c1addc0f34d55e9d90378460acb
parent1f015a302260ef44dd2a2508bd7203a568fcb3ef
xfs: consolidate scrub dinode mapping code into a single function

Move all the confusing dinode mapping code that's split between
xchk_iallocbt_check_cluster and xchk_iallocbt_check_cluster_ifree into
the first function so that it's clearer how we find the dinode for a
given inode.

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