summaryrefslogtreecommitdiff
path: root/source4/smb_server/handle.c
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@samba.org>2013-10-19 03:47:06 +0200
committerJeremy Allison <jra@samba.org>2013-10-25 11:41:19 -0700
commita13fda747238c5780d10bdf80b00edd8c2d1f6d3 (patch)
tree6827fd9316af8f99b923a02f8e7400fc6b0c11cb /source4/smb_server/handle.c
parentef4054eb88df7b4809c4cbe99b65a0e0efcd78c4 (diff)
downloadsamba-a13fda747238c5780d10bdf80b00edd8c2d1f6d3.tar.gz
samba-a13fda747238c5780d10bdf80b00edd8c2d1f6d3.tar.bz2
samba-a13fda747238c5780d10bdf80b00edd8c2d1f6d3.zip
smb2_ioctl: add support for FSCTL_SRV_COPYCHUNK_WRITE
FSCTL_SRV_COPYCHUNK can only be used when the client has the copy-chunk target file open with FILE_WRITE_DATA and FILE_READ_DATA. FSCTL_SRV_COPYCHUNK_WRITE requires only FILE_WRITE_DATA access on the target, and is therefore suitable for cp --reflink, which opens the target file O_WRONLY. Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/smb_server/handle.c')
0 files changed, 0 insertions, 0 deletions