From 0b29e3ad0f2b1759eb195fb37f1f8667d87f5670 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 13 Jun 2007 11:32:46 +0000 Subject: [PATCH] r23466: Fix RAW-NOTIFY: by using delete on close the notify is triggered deep inside close_file() already. --- source/smbd/reply.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/source/smbd/reply.c b/source/smbd/reply.c index be350994701..f2ff0b85e05 100644 --- a/source/smbd/reply.c +++ b/source/smbd/reply.c @@ -2012,9 +2012,6 @@ NTSTATUS unlink_internals(connection_struct *conn, uint32 dirtype, } count++; - notify_fname(conn, NOTIFY_ACTION_REMOVED, - FILE_NOTIFY_CHANGE_FILE_NAME, - directory); } else { struct smb_Dir *dir_hnd = NULL; long offset = 0; @@ -2081,9 +2078,6 @@ NTSTATUS unlink_internals(connection_struct *conn, uint32 dirtype, count++; DEBUG(3,("unlink_internals: succesful unlink [%s]\n", fname)); - notify_fname(conn, NOTIFY_ACTION_REMOVED, - FILE_NOTIFY_CHANGE_FILE_NAME, - fname); } CloseDir(dir_hnd); } -- 2.47.3