summaryrefslogtreecommitdiff
path: root/fs/ocfs2/refcounttree.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2018-10-30 02:44:45 +0300
committerDave Chinner <david@fromorbit.com>2018-10-30 02:44:45 +0300
commit900611a1bd06ef4a79980e58babc61ef056c81ab (patch)
tree1d1d62cc0bf025f450cae70d2e5f278d089eb0e3 /fs/ocfs2/refcounttree.h
parenta8a94302c9754d05069ee149cf01df8aa5116aaa (diff)
downloadlinux-900611a1bd06ef4a79980e58babc61ef056c81ab.tar.xz
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.h12
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 */