summaryrefslogtreecommitdiff
path: root/source3/smbd/open.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-01-01 18:11:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:50 -0500
commit92d02f7afe439a51f5a2eab3e1db8d628c170a6c (patch)
tree4e3505c19794354963d985a34a5dfbb159ffeb93 /source3/smbd/open.c
parent41440d483adeec11e14e85b68edf93c14e337b51 (diff)
downloadsamba-92d02f7afe439a51f5a2eab3e1db8d628c170a6c.tar.gz
samba-92d02f7afe439a51f5a2eab3e1db8d628c170a6c.tar.bz2
samba-92d02f7afe439a51f5a2eab3e1db8d628c170a6c.zip
r20451: Survive the first of the filter-tests (mkdir).
Add lots of TODOs :-) Volker (This used to be commit 0e953884a15873b0962ab1ab064d6b3a436726c0)
Diffstat (limited to 'source3/smbd/open.c')
-rw-r--r--source3/smbd/open.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 895dd48221..81537e0be3 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -309,7 +309,7 @@ static NTSTATUS open_file(files_struct *fsp,
fsp);
}
- notify_action(conn, parent_dir, name,
+ notify_action(conn, parent_dir, name, -1,
NOTIFY_ACTION_ADDED);
}
@@ -1944,7 +1944,8 @@ static NTSTATUS mkdir_internal(connection_struct *conn, const char *name,
change_dir_owner_to_parent(conn, parent_dir, name, psbuf);
}
- notify_action(conn, parent_dir, dirname, NOTIFY_ACTION_ADDED);
+ notify_action(conn, parent_dir, dirname, FILE_NOTIFY_CHANGE_DIR_NAME,
+ NOTIFY_ACTION_ADDED);
return NT_STATUS_OK;
}