]> asedeno.scripts.mit.edu Git - linux.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)
commitf9e63342b858332d932414a7b27cad1d5557c84c
treed98ef6dd8e8e7c1addc0f34d55e9d90378460acb
parent4539b8a7807848ad5c9e4d1d4199f34eb88669c5
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