]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: pass bmapi flags through to bmap_del_extent
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 25 Oct 2016 01:31:59 +0000 (12:31 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 25 Oct 2016 01:31:59 +0000 (12:31 +1100)
commit36b16da8bf881426704c5762bf08737ca684334f
tree50311e2503363afb3fd65bac1e4c3eb5b31fd1c6
parent34621a4761b8314d4bbba1507d55d73e731c6e24
xfs: pass bmapi flags through to bmap_del_extent

Source kernel commit: 4847acf868bb426455c8b703c80ed5fc5e2ee556

Pass BMAPI_ flags from bunmapi into bmap_del_extent and extend
BMAPI_REMAP (which means "don't touch the allocator or the quota
accounting") to apply to bunmapi as well.  This will be used to
implement the unmap operation, which will be used by swapext.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
libxfs/xfs_bmap.c
libxfs/xfs_bmap.h