xfs: pass individual arguments to xfs_bmap_add_extent_hole_real
authorChristoph Hellwig <hch@lst.de>
Tue, 11 Apr 2017 23:45:54 +0000 (16:45 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 25 Apr 2017 16:40:39 +0000 (09:40 -0700)
commit6d04558f9fa9d16c4aba7243030f22ef0c1bbf32
treedae5097dc5e662d2fb56397f6ef7fc74c2a6ff94
parent39e07daa46e34c724ad33f903d166a0a62c20900
xfs: pass individual arguments to xfs_bmap_add_extent_hole_real

For the reflink case we'd much rather pass the required arguments than
faking up a struct xfs_bmalloca.

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