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:
Colin Finck 2008-01-12 17:29:26 +00:00
parent 0e38eeaf88
commit 8d77b86693

View file

@ -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;