r17152: Don't handle the delete pending here, await
authorJeremy Allison <jra@samba.org>
Wed, 19 Jul 2006 21:03:03 +0000 (21:03 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:38:16 +0000 (11:38 -0500)
reschedule.
Jeremy.
(This used to be commit 11bab9d57958659c71f053fe8dc0f9156c9f3c1f)

source3/smbd/open.c

index 890f1ef45a1453b5240dcd723698ac673d980cd8..21c4bd628ab7a74d6d7eafecf6c7a92a458d65ac 100644 (file)
@@ -1594,13 +1594,6 @@ NTSTATUS open_file_ntcreate(connection_struct *conn,
                                         access_mask, share_access,
                                         create_options, &file_existed);
 
-               if (NT_STATUS_EQUAL(status, NT_STATUS_DELETE_PENDING)) {
-                       /* DELETE_PENDING is not deferred for a second */
-                       TALLOC_FREE(lck);
-                       file_free(fsp);
-                       return status;
-               }
-
                if (!NT_STATUS_IS_OK(status)) {
                        struct deferred_open_record state;