summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix/pvfs_notify.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-02-02 08:34:16 +0100
committerStefan Metzmacher <metze@samba.org>2009-02-02 13:08:33 +0100
commit2110ef3c5d4b2085310f706c62e6bf11299dc2eb (patch)
tree07a1bedb4693ba473c88ad4aabdaf5a78b81e689 /source4/ntvfs/posix/pvfs_notify.c
parent7ee87c339bc328f89d08afc0e5c9e095ceb1f746 (diff)
downloadsamba-2110ef3c5d4b2085310f706c62e6bf11299dc2eb.tar.gz
samba-2110ef3c5d4b2085310f706c62e6bf11299dc2eb.tar.bz2
samba-2110ef3c5d4b2085310f706c62e6bf11299dc2eb.zip
s4:ntvfs/posix: s/private/private_data
metze
Diffstat (limited to 'source4/ntvfs/posix/pvfs_notify.c')
-rw-r--r--source4/ntvfs/posix/pvfs_notify.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/ntvfs/posix/pvfs_notify.c b/source4/ntvfs/posix/pvfs_notify.c
index 8224d36b7d..09aa0f64e6 100644
--- a/source4/ntvfs/posix/pvfs_notify.c
+++ b/source4/ntvfs/posix/pvfs_notify.c
@@ -126,9 +126,9 @@ static int pvfs_notify_destructor(struct pvfs_notify_buffer *n)
/*
called when a async notify event comes in
*/
-static void pvfs_notify_callback(void *private, const struct notify_event *ev)
+static void pvfs_notify_callback(void *private_data, const struct notify_event *ev)
{
- struct pvfs_notify_buffer *n = talloc_get_type(private, struct pvfs_notify_buffer);
+ struct pvfs_notify_buffer *n = talloc_get_type(private_data, struct pvfs_notify_buffer);
size_t len;
struct notify_changes *n2;
char *new_path;
@@ -201,9 +201,9 @@ static NTSTATUS pvfs_notify_setup(struct pvfs_state *pvfs, struct pvfs_file *f,
called from the pvfs_wait code when either an event has come in, or
the notify request has been cancelled
*/
-static void pvfs_notify_end(void *private, enum pvfs_wait_notice reason)
+static void pvfs_notify_end(void *private_data, enum pvfs_wait_notice reason)
{
- struct pvfs_notify_buffer *notify_buffer = talloc_get_type(private,
+ struct pvfs_notify_buffer *notify_buffer = talloc_get_type(private_data,
struct pvfs_notify_buffer);
if (reason == PVFS_WAIT_CANCEL) {
pvfs_notify_send(notify_buffer, NT_STATUS_CANCELLED, false);