]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r23466: Fix RAW-NOTIFY: by using delete on close the notify is triggered deep
authorVolker Lendecke <vlendec@samba.org>
Wed, 13 Jun 2007 11:32:46 +0000 (11:32 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:23:18 +0000 (12:23 -0500)
inside close_file() already.

source/smbd/reply.c

index be350994701af403730f5287a1226baafd89d558..f2ff0b85e05547cbe0ada287e66c13505d8d958f 100644 (file)
@@ -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);
        }