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-4.0.0alpha6~801^2~5639 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=719df44c03c54429504c9f58922f348a5cb5aafe;p=thirdparty%2Fsamba.git r23466: Fix RAW-NOTIFY: by using delete on close the notify is triggered deep inside close_file() already. (This used to be commit 0b29e3ad0f2b1759eb195fb37f1f8667d87f5670) --- diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index be350994701..f2ff0b85e05 100644 --- a/source3/smbd/reply.c +++ b/source3/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); }