diff options
author | 2018-10-30 10:41:08 +1100 | |
---|---|---|
committer | 2018-10-30 10:41:08 +1100 | |
commit | a83ab01a62e61616ebb8b97f90f568c1214dc10d (patch) | |
tree | f37ee538e5b0a07fc1ead17e104820a64b16f804 /fs/ocfs2 | |
parent | vfs: skip zero-length dedupe requests (diff) | |
download | linux-a83ab01a62e61616ebb8b97f90f568c1214dc10d.tar.gz linux-a83ab01a62e61616ebb8b97f90f568c1214dc10d.tar.bz2 linux-a83ab01a62e61616ebb8b97f90f568c1214dc10d.zip |
vfs: rename vfs_clone_file_prep to be more descriptive
The vfs_clone_file_prep is a generic function to be called by filesystem
implementations only. Rename the prefix to generic_ and make it more
clear that it applies to remap operations, not just clones.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/ocfs2')
-rw-r--r-- | fs/ocfs2/refcounttree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/refcounttree.c b/fs/ocfs2/refcounttree.c index 19e03936c5e1..36c56dfbe485 100644 --- a/fs/ocfs2/refcounttree.c +++ b/fs/ocfs2/refcounttree.c @@ -4850,7 +4850,7 @@ int ocfs2_reflink_remap_range(struct file *file_in, (OCFS2_I(inode_out)->ip_flags & OCFS2_INODE_SYSTEM_FILE)) goto out_unlock; - ret = vfs_clone_file_prep(file_in, pos_in, file_out, pos_out, + ret = generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, &len, is_dedupe); if (ret <= 0) goto out_unlock; |