mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[FASTFAT] Addendum to d69f318
This commit is contained in:
parent
de824808b7
commit
7283f3cfd9
1 changed files with 3 additions and 4 deletions
|
@ -29,7 +29,6 @@ vfatFCBInitializeCacheFromVolume(
|
|||
PVFATCCB newCCB;
|
||||
NTSTATUS status;
|
||||
BOOLEAN Acquired;
|
||||
NTSTATUS Status;
|
||||
|
||||
/* Don't re-initialize if already done */
|
||||
if (BooleanFlagOn(fcb->Flags, FCB_CACHE_INITIALIZED))
|
||||
|
@ -59,7 +58,7 @@ vfatFCBInitializeCacheFromVolume(
|
|||
newCCB = ExAllocateFromNPagedLookasideList(&VfatGlobalData->CcbLookasideList);
|
||||
if (newCCB == NULL)
|
||||
{
|
||||
Status = STATUS_INSUFFICIENT_RESOURCES;
|
||||
status = STATUS_INSUFFICIENT_RESOURCES;
|
||||
ObDereferenceObject(fileObject);
|
||||
goto Quit;
|
||||
}
|
||||
|
@ -95,7 +94,7 @@ vfatFCBInitializeCacheFromVolume(
|
|||
|
||||
vfatGrabFCB(vcb, fcb);
|
||||
SetFlag(fcb->Flags, FCB_CACHE_INITIALIZED);
|
||||
Status = STATUS_SUCCESS;
|
||||
status = STATUS_SUCCESS;
|
||||
|
||||
Quit:
|
||||
if (Acquired)
|
||||
|
@ -103,7 +102,7 @@ Quit:
|
|||
ExReleaseResourceLite(&vcb->DirResource);
|
||||
}
|
||||
|
||||
return Status;
|
||||
return status;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue