SMB3: Rename clone_range to copychunk_range
authorSachin Prabhu <sprabhu@redhat.com>
Tue, 4 Apr 2017 07:12:04 +0000 (02:12 -0500)
committerSteve French <smfrench@gmail.com>
Fri, 7 Apr 2017 13:04:40 +0000 (08:04 -0500)
commit312bbc5946c4b73dfc1d64c1dd5b0f9df8016587
treebc480bb07a4754818f1f72a39c3ad6d498c3a450
parent38bd49064a1ecb67baad33598e3d824448ab11ec
SMB3: Rename clone_range to copychunk_range

Server side copy is one of the most important mechanisms smb2/smb3
supports and it was unintentionally disabled for most use cases.

Renaming calls to reflect the underlying smb2 ioctl called. This is
similar to the name duplicate_extents used for a similar ioctl which is
also used to duplicate files by reusing fs blocks. The name change is to
avoid confusion.

Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
CC: Stable <stable@vger.kernel.org>
Signed-off-by: Steve French <smfrench@gmail.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
fs/cifs/cifsglob.h
fs/cifs/ioctl.c
fs/cifs/smb2ops.c