summaryrefslogtreecommitdiff
path: root/source4/ntvfs/sysdep/sys_notify.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-04-05 08:52:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:00:17 -0500
commit930e247d5692cc776c434f9caafa90f2ca1a70b1 (patch)
treec338337012077b82f51cbdc215362e1cd9dcf959 /source4/ntvfs/sysdep/sys_notify.c
parent22c1c78b1d3c888508df42ae518fcb9711cec45d (diff)
downloadsamba-930e247d5692cc776c434f9caafa90f2ca1a70b1.tar.gz
samba-930e247d5692cc776c434f9caafa90f2ca1a70b1.tar.bz2
samba-930e247d5692cc776c434f9caafa90f2ca1a70b1.zip
r14925: trigger NOTIFY_ACTION_OLD_NAME and NOTIFY_ACTION_NEW_NAME events for
renames, if in the same directory. For renames between directories generate NOTIFY_ACTION_REMOVED and NOTIFY_ACTION_ADDED (This used to be commit 2ac248edf05c3ee715165f2b33055de480743e87)
Diffstat (limited to 'source4/ntvfs/sysdep/sys_notify.c')
-rw-r--r--source4/ntvfs/sysdep/sys_notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/sysdep/sys_notify.c b/source4/ntvfs/sysdep/sys_notify.c
index 1be57dd55a..85831c80e9 100644
--- a/source4/ntvfs/sysdep/sys_notify.c
+++ b/source4/ntvfs/sysdep/sys_notify.c
@@ -97,7 +97,7 @@ NTSTATUS sys_notify_watch(struct sys_notify_context *ctx, struct notify_entry *e
sys_notify_callback_t callback, void *private, void **handle)
{
if (!ctx->notify_watch) {
- return NT_STATUS_NOT_IMPLEMENTED;
+ return NT_STATUS_INVALID_SYSTEM_SERVICE;
}
return ctx->notify_watch(ctx, e, callback, private, handle);
}