]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: refactor the ifork block counting function
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 16 Jun 2017 18:00:12 +0000 (11:00 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 20 Jun 2017 17:45:21 +0000 (10:45 -0700)
commit838979af6c3643165440468d5a305eac5c33258c
tree8f10b248d7b616d52850d6e2b5013c2d35461ed3
parent56a61ef0fd550cae70be25775de36923421b5e9d
xfs: refactor the ifork block counting function

Refactor the inode fork block counting function to count extents for us
at the same time.  This will be used by the bmbt scrubber function.

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