summaryrefslogtreecommitdiff
path: root/source3/smbd/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/open.c')
-rw-r--r--source3/smbd/open.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 890f1ef45a..21c4bd628a 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -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;