diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2018-10-30 10:41:28 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2018-10-30 10:41:28 +1100 |
commit | a91ae49bbaf43910edb09e03fedf26b23875bd52 (patch) | |
tree | 8152c5568a957e47b986e25324846e06a6d1fd57 /fs/xfs/xfs_file.c | |
parent | 2e5dfc99f2e61c42083ba742395e7a7b353513d1 (diff) | |
download | linux-a91ae49bbaf43910edb09e03fedf26b23875bd52.tar.gz linux-a91ae49bbaf43910edb09e03fedf26b23875bd52.tar.bz2 linux-a91ae49bbaf43910edb09e03fedf26b23875bd52.zip |
vfs: pass remap flags to generic_remap_file_range_prep
Plumb the remap flags through the filesystem from the vfs function
dispatcher all the way to the prep function to prepare for behavior
changes in subsequent patches.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_file.c')
-rw-r--r-- | fs/xfs/xfs_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c index 2ad94d508f80..20314eb4677a 100644 --- a/fs/xfs/xfs_file.c +++ b/fs/xfs/xfs_file.c @@ -932,7 +932,7 @@ xfs_file_remap_range( return -EINVAL; return xfs_reflink_remap_range(file_in, pos_in, file_out, pos_out, - len, remap_flags & REMAP_FILE_DEDUP); + len, remap_flags); } STATIC int |