]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blobdiff - include/linux/fs.h
vfs: rename vfs_clone_file_prep to be more descriptive
[mirror_ubuntu-focal-kernel.git] / include / linux / fs.h
index ba93a6e7dac4ec1c6f81e8bc19fed30061671df8..55729e1c2e759a68af0ec7d8abe0ea2ab06b37b6 100644 (file)
@@ -1825,9 +1825,9 @@ extern ssize_t vfs_readv(struct file *, const struct iovec __user *,
                unsigned long, loff_t *, rwf_t);
 extern ssize_t vfs_copy_file_range(struct file *, loff_t , struct file *,
                                   loff_t, size_t, unsigned int);
-extern int vfs_clone_file_prep(struct file *file_in, loff_t pos_in,
-                              struct file *file_out, loff_t pos_out,
-                              u64 *count, bool is_dedupe);
+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);
 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,