]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: teach xfs_bmapi_remap to accept some bmapi flags
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 14 May 2018 13:34:35 +0000 (06:34 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 16 May 2018 01:12:50 +0000 (18:12 -0700)
commitb71f0c9c047da39785cf9c770feb3cbd7b54141e
tree67c74f1b33e413d868586b03da1646556cb9c603
parent3b6ed8dacab7504099de9154b5e71caba79084e1
xfs: teach xfs_bmapi_remap to accept some bmapi flags

Teach xfs_bmapi_remap how to map in unwritten extent and to skip rmap
updates.  This enables us to rebuild real and unwritten extents from the
rmapbt.

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