xfs: remove xfs_reflink_remap_range
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 29 Oct 2018 23:47:26 +0000 (10:47 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 29 Oct 2018 23:47:26 +0000 (10:47 +1100)
commit3fc9f5e409319e994d113cf1327ba6ab147423c2
treec4829da4dca97ee610fb059363fef6362ab65bd2
parent7a6ccf004e234c01fb2a11771de9837c9ff3d56d
xfs: remove xfs_reflink_remap_range

Since xfs_file_remap_range is a thin wrapper, move the contents of
xfs_reflink_remap_range into the shell.  This cuts down on the vfs
calls being made from internal xfs code.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_file.c
fs/xfs/xfs_reflink.c
fs/xfs/xfs_reflink.h