From 92d02f7afe439a51f5a2eab3e1db8d628c170a6c Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 1 Jan 2007 18:11:32 +0000 Subject: r20451: Survive the first of the filter-tests (mkdir). Add lots of TODOs :-) Volker (This used to be commit 0e953884a15873b0962ab1ab064d6b3a436726c0) --- source3/smbd/reply.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'source3/smbd/reply.c') diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index c6b3c17c01..ee930f20fb 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -2035,7 +2035,7 @@ NTSTATUS unlink_internals(connection_struct *conn, uint32 dirtype, if (parent_dirname_talloc(tmp_talloc_ctx(), orig_name, &dir, &fname)) { - notify_action(conn, dir, fname, + notify_action(conn, dir, fname, -1, NOTIFY_ACTION_REMOVED); TALLOC_FREE(dir); /* not strictly necessary */ } @@ -2097,7 +2097,8 @@ NTSTATUS unlink_internals(connection_struct *conn, uint32 dirtype, } if (SMB_VFS_UNLINK(conn,fname) == 0) count++; - notify_action(conn, directory, dname, NOTIFY_ACTION_REMOVED); + notify_action(conn, directory, dname, + -1, NOTIFY_ACTION_REMOVED); DEBUG(3,("unlink_internals: succesful unlink [%s]\n",fname)); } CloseDir(dir_hnd); @@ -3964,7 +3965,7 @@ BOOL rmdir_internals(connection_struct *conn, const char *directory) if (parent_dirname_talloc(tmp_talloc_ctx(), directory, &parent_dir, &dirname)) { - notify_action(conn, parent_dir, dirname, + notify_action(conn, parent_dir, dirname, -1, NOTIFY_ACTION_REMOVED); TALLOC_FREE(parent_dir); /* Not strictly necessary */ } -- cgit