xfs: return the converted extent in __xfs_reflink_convert_cow
authorChristoph Hellwig <hch@lst.de>
Mon, 6 Feb 2017 18:46:01 +0000 (10:46 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 7 Feb 2017 01:47:46 +0000 (17:47 -0800)
commitdcf9585a7511147c7ffd580be8580dd39bc52fb6
treefffd802ec71578d55e2f8c25081a5a2259870956
parentf13eb2055ae46ded52961f27753c245dc5b8967d
xfs: return the converted extent in __xfs_reflink_convert_cow

We'll need it for the direct I/O code.  Also rename the function to
xfs_reflink_convert_cow_extent to describe it a bit better.

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/xfs_reflink.c