summaryrefslogtreecommitdiff
path: root/source3/smbd/notify_kernel.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-01-31 12:42:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:33 -0500
commitb0bf3ddb386f3c04b44c6e48867c222ae3a15c2e (patch)
treee4d9dadd25aa399df7d063e46c7b6b0c0f9f5179 /source3/smbd/notify_kernel.c
parent9ee97d2f7d4e3c7e14d32825c5ee23b136ce4e07 (diff)
downloadsamba-b0bf3ddb386f3c04b44c6e48867c222ae3a15c2e.tar.gz
samba-b0bf3ddb386f3c04b44c6e48867c222ae3a15c2e.tar.bz2
samba-b0bf3ddb386f3c04b44c6e48867c222ae3a15c2e.zip
r21079: Minimizing diff: Adopt the Samba4 style ChangeNotify flags.
Volker (This used to be commit a3c1069b0c3da914e2ac7337fd9e924b1c811d39)
Diffstat (limited to 'source3/smbd/notify_kernel.c')
-rw-r--r--source3/smbd/notify_kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/notify_kernel.c b/source3/smbd/notify_kernel.c
index 0b5784f3d0..f90414dc79 100644
--- a/source3/smbd/notify_kernel.c
+++ b/source3/smbd/notify_kernel.c
@@ -152,7 +152,7 @@ static int kernel_register_notify(connection_struct *conn, char *path,
kernel_flags = DN_CREATE|DN_DELETE|DN_RENAME; /* creation/deletion
* changes
* everything! */
- if (flags & FILE_NOTIFY_CHANGE_FILE) kernel_flags |= DN_MODIFY;
+ if (flags & FILE_NOTIFY_CHANGE_FILE_NAME) kernel_flags |= DN_MODIFY;
if (flags & FILE_NOTIFY_CHANGE_DIR_NAME) kernel_flags
|= DN_RENAME
|DN_DELETE;