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>
This commit is contained in:

committed by
Dave Chinner

parent
a8a94302c9
commit
900611a1bd
@@ -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 */
|
||||
|
Reference in New Issue
Block a user