[FASTFAT] Addendum to d69f318

This commit is contained in:
Pierre Schweitzer 2018-05-19 13:45:56 +02:00
parent de824808b7
commit 7283f3cfd9
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B

View file

@ -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;
}
/*