diff options
author | Ralph Boehme <slow@samba.org> | 2017-06-04 13:50:33 +0200 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2017-07-03 19:59:08 +0200 |
commit | 64bedefa117b4861a752c4e2fc3f5e775eb7f542 (patch) | |
tree | 163d6b87accce620193f4125fb4a886cd426ea47 /source3/smbd/smb2_ioctl_filesys.c | |
parent | 67ed1edba75e967d7d8d4157f918b50d23c47b0b (diff) | |
download | samba-64bedefa117b4861a752c4e2fc3f5e775eb7f542.tar.gz |
s3/vfs: rename SMB_VFS_COPY_CHUNK_SEND/RECV to SMB_VFS_OFFLOAD_WRITE_SEND/RECV
No change in behaviour, just a rename in preperation of more changes to
SMB_VFS_OFFLOAD_WRITE_SEND. It helps keeping the diff of the actual
changes smaller.
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/smbd/smb2_ioctl_filesys.c')
-rw-r--r-- | source3/smbd/smb2_ioctl_filesys.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/source3/smbd/smb2_ioctl_filesys.c b/source3/smbd/smb2_ioctl_filesys.c index 7008a473f4c..5bbeadabcb9 100644 --- a/source3/smbd/smb2_ioctl_filesys.c +++ b/source3/smbd/smb2_ioctl_filesys.c @@ -289,16 +289,16 @@ static void fsctl_dup_extents_offload_read_done(struct tevent_req *subreq) } /* tell the VFS to ignore locks across the clone, matching ReFS */ - subreq = SMB_VFS_COPY_CHUNK_SEND(state->dst_fsp->conn, - state, - state->ev, - state->src_fsp, - state->dup_extents.source_off, - state->dst_fsp, - state->dup_extents.target_off, - state->dup_extents.byte_count, - VFS_COPY_CHUNK_FL_MUST_CLONE - | VFS_COPY_CHUNK_FL_IGNORE_LOCKS); + subreq = SMB_VFS_OFFLOAD_WRITE_SEND(state->dst_fsp->conn, + state, + state->ev, + state->src_fsp, + state->dup_extents.source_off, + state->dst_fsp, + state->dup_extents.target_off, + state->dup_extents.byte_count, + VFS_OFFLOAD_WRITE_FL_MUST_CLONE + | VFS_OFFLOAD_WRITE_FL_IGNORE_LOCKS); if (tevent_req_nomem(subreq, req)) { return; } @@ -315,7 +315,7 @@ static void fsctl_dup_extents_vfs_done(struct tevent_req *subreq) off_t nb_chunk; NTSTATUS status; - status = SMB_VFS_COPY_CHUNK_RECV(state->conn, subreq, &nb_chunk); + status = SMB_VFS_OFFLOAD_WRITE_RECV(state->conn, subreq, &nb_chunk); TALLOC_FREE(subreq); if (tevent_req_nterror(req, status)) { return; |