summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix/pvfs_notify.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-02-21 09:02:17 +0100
committerStefan Metzmacher <metze@samba.org>2008-02-25 07:55:09 +0100
commita0a0d4a5d0c24729a26a37ff54caa665de9149a2 (patch)
tree89dabecf2589f0c2e63d6f6599fe4cbfcf41b508 /source4/ntvfs/posix/pvfs_notify.c
parentfb6f52261a4cdbc529c04e28b29f82a8cbb9640f (diff)
downloadsamba-a0a0d4a5d0c24729a26a37ff54caa665de9149a2.tar.gz
samba-a0a0d4a5d0c24729a26a37ff54caa665de9149a2.tar.bz2
samba-a0a0d4a5d0c24729a26a37ff54caa665de9149a2.zip
pvfs_wait: use struct pvfs_wait * instead of void *
metze (This used to be commit 3b70331536d2402814db13a9f1f226a39373313a)
Diffstat (limited to 'source4/ntvfs/posix/pvfs_notify.c')
-rw-r--r--source4/ntvfs/posix/pvfs_notify.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/source4/ntvfs/posix/pvfs_notify.c b/source4/ntvfs/posix/pvfs_notify.c
index 210f949395..06d2bc8e0c 100644
--- a/source4/ntvfs/posix/pvfs_notify.c
+++ b/source4/ntvfs/posix/pvfs_notify.c
@@ -268,9 +268,11 @@ NTSTATUS pvfs_notify(struct ntvfs_module_context *ntvfs,
/* if the buffer is empty then start waiting */
if (f->notify_buffer->num_changes == 0) {
- void *wait_handle =
- pvfs_wait_message(pvfs, req, -1, timeval_zero(),
- pvfs_notify_end, f->notify_buffer);
+ struct pvfs_wait *wait_handle;
+ wait_handle = pvfs_wait_message(pvfs, req, -1,
+ timeval_zero(),
+ pvfs_notify_end,
+ f->notify_buffer);
NT_STATUS_HAVE_NO_MEMORY(wait_handle);
talloc_steal(req, wait_handle);
return NT_STATUS_OK;