]> asedeno.scripts.mit.edu Git - linux.git/commit
xfs: clean up xfs_reflink_remap_blocks call site
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 29 Oct 2018 23:46:50 +0000 (10:46 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 29 Oct 2018 23:46:50 +0000 (10:46 +1100)
commit9f04aaffddb3e487f3eda1945f1a9531d6cc7628
treef41889530e821a346f6fe0c889978ec46aefdd79
parent4918ef4ea008cd2ff47eb852894e3f9b9047f4f3
xfs: clean up xfs_reflink_remap_blocks call site

Move the offset <-> blocks unit conversions into
xfs_reflink_remap_blocks to make the call site less ugly.

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_reflink.c