vfs: combine the clone and dedupe into a single remap_file_range
Combine the clone_file_range and dedupe_file_range operations into a single remap_file_range file operation dispatch since they're fundamentally the same operation. The differences between the two can be made in the prep functions. Signed-off-by:Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by:
Amir Goldstein <amir73il@gmail.com> Reviewed-by:
Christoph Hellwig <hch@lst.de> Signed-off-by:
Dave Chinner <david@fromorbit.com>
Showing
- Documentation/filesystems/porting 5 additions, 0 deletionsDocumentation/filesystems/porting
- Documentation/filesystems/vfs.txt 13 additions, 7 deletionsDocumentation/filesystems/vfs.txt
- fs/btrfs/ctree.h 3 additions, 5 deletionsfs/btrfs/ctree.h
- fs/btrfs/file.c 1 addition, 2 deletionsfs/btrfs/file.c
- fs/btrfs/ioctl.c 23 additions, 22 deletionsfs/btrfs/ioctl.c
- fs/cifs/cifsfs.c 13 additions, 9 deletionsfs/cifs/cifsfs.c
- fs/nfs/nfs4file.c 7 additions, 3 deletionsfs/nfs/nfs4file.c
- fs/ocfs2/file.c 8 additions, 16 deletionsfs/ocfs2/file.c
- fs/overlayfs/file.c 17 additions, 13 deletionsfs/overlayfs/file.c
- fs/read_write.c 9 additions, 9 deletionsfs/read_write.c
- fs/xfs/xfs_file.c 7 additions, 16 deletionsfs/xfs/xfs_file.c
- include/linux/fs.h 21 additions, 4 deletionsinclude/linux/fs.h
Loading
Please register or sign in to comment