From: Volker Lendecke Date: Wed, 13 Jun 2007 11:32:46 +0000 (+0000) Subject: r23466: Fix RAW-NOTIFY: by using delete on close the notify is triggered deep X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~214 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0b29e3ad0f2b1759eb195fb37f1f8667d87f5670;p=thirdparty%2Fsamba.git r23466: Fix RAW-NOTIFY: by using delete on close the notify is triggered deep inside close_file() already. --- 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); }