xfs: refactor scrub transaction allocation function
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 9 May 2018 17:02:01 +0000 (10:02 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 16 May 2018 00:57:05 +0000 (17:57 -0700)
commit9d9c90286a74decf11caa9dd625f862ae0257ce0
tree7ee3c2221cde32e2446e0a0614654b8d681d3fd8
parent08a3a692ef586cc82648b88856a97e0d173319e2
xfs: refactor scrub transaction allocation function

Since the transaction allocation helper is about to become more complex,
move it to common.c and remove the redundant parameters.

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