diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2018-10-30 10:44:45 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2018-10-30 10:44:45 +1100 |
commit | 900611a1bd06ef4a79980e58babc61ef056c81ab (patch) | |
tree | 1d1d62cc0bf025f450cae70d2e5f278d089eb0e3 /fs/ocfs2/refcounttree.h | |
parent | a8a94302c9754d05069ee149cf01df8aa5116aaa (diff) | |
download | linux-900611a1bd06ef4a79980e58babc61ef056c81ab.tar.bz2 |
ocfs2: support partial clone range and dedupe range
Change the ocfs2 remap code to allow for returning partial results.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/ocfs2/refcounttree.h')
-rw-r--r-- | fs/ocfs2/refcounttree.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/ocfs2/refcounttree.h b/fs/ocfs2/refcounttree.h index eb65c1d0843c..9e64daba395d 100644 --- a/fs/ocfs2/refcounttree.h +++ b/fs/ocfs2/refcounttree.h @@ -115,11 +115,11 @@ int ocfs2_reflink_ioctl(struct inode *inode, const char __user *oldname, const char __user *newname, bool preserve); -int ocfs2_reflink_remap_range(struct file *file_in, - loff_t pos_in, - struct file *file_out, - loff_t pos_out, - loff_t len, - unsigned int remap_flags); +loff_t ocfs2_reflink_remap_range(struct file *file_in, + loff_t pos_in, + struct file *file_out, + loff_t pos_out, + loff_t len, + unsigned int remap_flags); #endif /* OCFS2_REFCOUNTTREE_H */ |