diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2018-10-29 19:42:17 -0400 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2018-10-29 19:42:17 -0400 |
commit | c32e5f39953fa6bbff35c655bdcb7b3128f1e79f (patch) | |
tree | 6c6671dc31484ec4bc474b325b2aa3b73559d4dc /include/linux/fs.h | |
parent | eca3654e3cc7d93e9734d0fa96cfb15c7f356244 (diff) |
vfs: hide file range comparison function
There are no callers of vfs_dedupe_file_range_compare, so we might as
well make it a static helper and remove the export.
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/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 34c22d695011..346036a84f18 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1853,9 +1853,6 @@ extern loff_t do_clone_file_range(struct file *file_in, loff_t pos_in, | |||
1853 | extern loff_t vfs_clone_file_range(struct file *file_in, loff_t pos_in, | 1853 | extern loff_t vfs_clone_file_range(struct file *file_in, loff_t pos_in, |
1854 | struct file *file_out, loff_t pos_out, | 1854 | struct file *file_out, loff_t pos_out, |
1855 | loff_t len, unsigned int remap_flags); | 1855 | loff_t len, unsigned int remap_flags); |
1856 | extern int vfs_dedupe_file_range_compare(struct inode *src, loff_t srcoff, | ||
1857 | struct inode *dest, loff_t destoff, | ||
1858 | loff_t len, bool *is_same); | ||
1859 | extern int vfs_dedupe_file_range(struct file *file, | 1856 | extern int vfs_dedupe_file_range(struct file *file, |
1860 | struct file_dedupe_range *same); | 1857 | struct file_dedupe_range *same); |
1861 | extern loff_t vfs_dedupe_file_range_one(struct file *src_file, loff_t src_pos, | 1858 | extern loff_t vfs_dedupe_file_range_one(struct file *src_file, loff_t src_pos, |