Skip to content

Commit

Permalink
Kernel - Remove STATUS_OBJECT_NAME_COLLISION create check for existin…
Browse files Browse the repository at this point in the history
…g item

#1253
pomaroff authored Dec 14, 2024
1 parent 255e4a5 commit 2165b60
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions sys/create.c
Original file line number Diff line number Diff line change
@@ -697,12 +697,6 @@ Return Value:
&fileObject->FileName);
}
DOKAN_LOG_FINE_IRP(RequestContext, "Use FCB=%p", fcb);

// Cannot create a file already open
if (fcb->FileCount > 1 && disposition == FILE_CREATE) {
status = STATUS_OBJECT_NAME_COLLISION;
__leave;
}
}

// Cannot create a directory temporary

0 comments on commit 2165b60

Please sign in to comment.