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 /include | |
parent | 2e5dfc99f2e61c42083ba742395e7a7b353513d1 (diff) | |
download | linux-stable-a91ae49bbaf43910edb09e03fedf26b23875bd52.tar.gz linux-stable-a91ae49bbaf43910edb09e03fedf26b23875bd52.tar.bz2 linux-stable-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 'include')
-rw-r--r-- | include/linux/fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 888cef35c7d7..631c28ce1436 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -1844,7 +1844,7 @@ extern ssize_t vfs_copy_file_range(struct file *, loff_t , struct file *, loff_t, size_t, unsigned int); extern int generic_remap_file_range_prep(struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, - u64 *count, bool is_dedupe); + u64 *count, unsigned int remap_flags); extern int do_clone_file_range(struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, u64 len); extern int vfs_clone_file_range(struct file *file_in, loff_t pos_in, |