diff options
author | Volker Lendecke <vl@samba.org> | 2009-09-17 02:06:30 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-09-17 02:07:11 +0200 |
commit | 919559573cf9484beeeb31aaaff844349972634d (patch) | |
tree | 04494caa4e3e27cd594d98a660d6b5a08ae7c267 /source3 | |
parent | 43e198c188367bfe747ea52ae74679ac8bbc41dc (diff) | |
download | samba-919559573cf9484beeeb31aaaff844349972634d.tar.gz samba-919559573cf9484beeeb31aaaff844349972634d.tar.bz2 samba-919559573cf9484beeeb31aaaff844349972634d.zip |
s3:vfs: Fix the build of vfs_tsmsm after the VFS rewrite
Diffstat (limited to 'source3')
-rw-r--r-- | source3/modules/vfs_tsmsm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/modules/vfs_tsmsm.c b/source3/modules/vfs_tsmsm.c index b5104329e1..7c63b8c20e 100644 --- a/source3/modules/vfs_tsmsm.c +++ b/source3/modules/vfs_tsmsm.c @@ -314,7 +314,7 @@ static ssize_t tsmsm_pread(struct vfs_handle_struct *handle, struct files_struct } static ssize_t tsmsm_pwrite(struct vfs_handle_struct *handle, struct files_struct *fsp, - void *data, size_t n, SMB_OFF_T offset) { + const void *data, size_t n, SMB_OFF_T offset) { ssize_t result; bool notify_online = tsmsm_aio_force(handle, fsp); @@ -367,7 +367,7 @@ static struct vfs_fn_pointers tsmsm_fns = { .connect_fn = tsmsm_connect, .fs_capabilities = tsmsm_fs_capabilities, .aio_force = tsmsm_aio_force, - .aio_return = tsmsm_aio_return, + .aio_return_fn = tsmsm_aio_return, .pread = tsmsm_pread, .pwrite = tsmsm_pwrite, .sendfile = tsmsm_sendfile, @@ -379,5 +379,5 @@ NTSTATUS vfs_tsmsm_init(void); NTSTATUS vfs_tsmsm_init(void) { return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, - "tsmsm", &vfs_fns); + "tsmsm", &tsmsm_fns); } |