https://git.reactos.org/?p=reactos.git;a=commitdiff;h=7283f3cfd91e9c8c5fa2e…
commit 7283f3cfd91e9c8c5fa2eda82ce0238127c0dc2d
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Sat May 19 13:45:56 2018 +0200
Commit: Pierre Schweitzer <pierre(a)reactos.org>
CommitDate: Sat May 19 13:46:34 2018 +0200
[FASTFAT] Addendum to d69f318
---
drivers/filesystems/fastfat/dirwr.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/filesystems/fastfat/dirwr.c b/drivers/filesystems/fastfat/dirwr.c
index 4237d01909..cffc7af031 100644
--- a/drivers/filesystems/fastfat/dirwr.c
+++ b/drivers/filesystems/fastfat/dirwr.c
@@ -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;
}
/*