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 /examples/VFS/skel_opaque.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 'examples/VFS/skel_opaque.c')
-rw-r--r-- | examples/VFS/skel_opaque.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index 2294375d94f..d416bf6ef53 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -582,7 +582,7 @@ static NTSTATUS skel_offload_read_recv(struct tevent_req *req, struct skel_cc_state { uint64_t unused; }; -static struct tevent_req *skel_copy_chunk_send(struct vfs_handle_struct *handle, +static struct tevent_req *skel_offload_write_send(struct vfs_handle_struct *handle, TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct files_struct *src_fsp, @@ -604,7 +604,7 @@ static struct tevent_req *skel_copy_chunk_send(struct vfs_handle_struct *handle, return tevent_req_post(req, ev); } -static NTSTATUS skel_copy_chunk_recv(struct vfs_handle_struct *handle, +static NTSTATUS skel_offload_write_recv(struct vfs_handle_struct *handle, struct tevent_req *req, off_t *copied) { @@ -1011,8 +1011,8 @@ struct vfs_fn_pointers skel_opaque_fns = { .file_id_create_fn = skel_file_id_create, .offload_read_send_fn = skel_offload_read_send, .offload_read_recv_fn = skel_offload_read_recv, - .copy_chunk_send_fn = skel_copy_chunk_send, - .copy_chunk_recv_fn = skel_copy_chunk_recv, + .offload_write_send_fn = skel_offload_write_send, + .offload_write_recv_fn = skel_offload_write_recv, .get_compression_fn = skel_get_compression, .set_compression_fn = skel_set_compression, |