|
@@ -1745,9 +1745,9 @@ static int generic_remap_check_len(struct inode *inode_in,
|
|
|
* Returns: 0 for "nothing to clone", 1 for "something to clone", or
|
|
|
* the usual negative error code.
|
|
|
*/
|
|
|
-int vfs_clone_file_prep(struct file *file_in, loff_t pos_in,
|
|
|
- struct file *file_out, loff_t pos_out,
|
|
|
- u64 *len, bool is_dedupe)
|
|
|
+int generic_remap_file_range_prep(struct file *file_in, loff_t pos_in,
|
|
|
+ struct file *file_out, loff_t pos_out,
|
|
|
+ u64 *len, bool is_dedupe)
|
|
|
{
|
|
|
struct inode *inode_in = file_inode(file_in);
|
|
|
struct inode *inode_out = file_inode(file_out);
|
|
@@ -1822,7 +1822,7 @@ int vfs_clone_file_prep(struct file *file_in, loff_t pos_in,
|
|
|
|
|
|
return 1;
|
|
|
}
|
|
|
-EXPORT_SYMBOL(vfs_clone_file_prep);
|
|
|
+EXPORT_SYMBOL(generic_remap_file_range_prep);
|
|
|
|
|
|
int do_clone_file_range(struct file *file_in, loff_t pos_in,
|
|
|
struct file *file_out, loff_t pos_out, u64 len)
|