]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6f1ef855d3e75a0c14e0cc678cb7282a4c676eab
tree7ee3c2221cde32e2446e0a0614654b8d681d3fd8
parent07af1e56f88e9396b73db1f38a8bc574e36c6dff
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