diff options
author | Jeremy Allison <jra@samba.org> | 2018-05-02 16:56:33 -0700 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2018-05-05 01:38:07 +0200 |
commit | 30e6b5999bf0be297de74dc991beeccfe4af6088 (patch) | |
tree | 50ed5af4a16aca9e52df4a82e3d1c8063327189c /source3/modules/vfs_full_audit.c | |
parent | 98f03064f75466929295b8854182977c7162e360 (diff) | |
download | samba-30e6b5999bf0be297de74dc991beeccfe4af6088.tar.gz |
s3: VFS: Remove SMB_VFS_WRITE() function and all implementations.
All code in Samba now uses SMB_VFS_PWRITE or SMB_VFS_PWRITE_SEND.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Sat May 5 01:38:07 CEST 2018 on sn-devel-144
Diffstat (limited to 'source3/modules/vfs_full_audit.c')
-rw-r--r-- | source3/modules/vfs_full_audit.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/source3/modules/vfs_full_audit.c b/source3/modules/vfs_full_audit.c index 6e28a246652..ee8dbbcff2c 100644 --- a/source3/modules/vfs_full_audit.c +++ b/source3/modules/vfs_full_audit.c @@ -1116,19 +1116,6 @@ static ssize_t smb_full_audit_pread_recv(struct tevent_req *req, return state->ret; } -static ssize_t smb_full_audit_write(vfs_handle_struct *handle, files_struct *fsp, - const void *data, size_t n) -{ - ssize_t result; - - result = SMB_VFS_NEXT_WRITE(handle, fsp, data, n); - - do_log(SMB_VFS_OP_WRITE, (result >= 0), handle, "%s", - fsp_str_do_log(fsp)); - - return result; -} - static ssize_t smb_full_audit_pwrite(vfs_handle_struct *handle, files_struct *fsp, const void *data, size_t n, off_t offset) @@ -2497,7 +2484,6 @@ static struct vfs_fn_pointers vfs_full_audit_fns = { .pread_fn = smb_full_audit_pread, .pread_send_fn = smb_full_audit_pread_send, .pread_recv_fn = smb_full_audit_pread_recv, - .write_fn = smb_full_audit_write, .pwrite_fn = smb_full_audit_pwrite, .pwrite_send_fn = smb_full_audit_pwrite_send, .pwrite_recv_fn = smb_full_audit_pwrite_recv, |