mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
Fix creating a directory, deleting it and recreating it. Thanks to Aleksey and Hervé!
r25255 broke it, because the OpenHandleCount was decremented, but the check for the last handle was not updated. svn path=/trunk/; revision=31741
This commit is contained in:
parent
0e38eeaf88
commit
8d77b86693
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ VfatCleanupFile(PVFAT_IRP_CONTEXT IrpContext)
|
|||
}
|
||||
|
||||
if (pFcb->Flags & FCB_DELETE_PENDING &&
|
||||
pFcb->OpenHandleCount == 1)
|
||||
pFcb->OpenHandleCount == 0)
|
||||
{
|
||||
PFILE_OBJECT tmpFileObject;
|
||||
tmpFileObject = pFcb->FileObject;
|
||||
|
|
Loading…
Reference in a new issue