[FORMATTING] Fix indentation

svn path=/trunk/; revision=31740
This commit is contained in:
Hervé Poussineau 2008-01-12 17:20:11 +00:00
parent daea1a27a5
commit 0e38eeaf88

View file

@ -13,11 +13,11 @@
/* FUNCTIONS ****************************************************************/ /* FUNCTIONS ****************************************************************/
static NTSTATUS
VfatCleanupFile(PVFAT_IRP_CONTEXT IrpContext)
/* /*
* FUNCTION: Cleans up after a file has been closed. * FUNCTION: Cleans up after a file has been closed.
*/ */
static NTSTATUS
VfatCleanupFile(PVFAT_IRP_CONTEXT IrpContext)
{ {
PVFATFCB pFcb; PVFATFCB pFcb;
PFILE_OBJECT FileObject = IrpContext->FileObject; PFILE_OBJECT FileObject = IrpContext->FileObject;
@ -27,8 +27,9 @@ VfatCleanupFile(PVFAT_IRP_CONTEXT IrpContext)
/* FIXME: handle file/directory deletion here */ /* FIXME: handle file/directory deletion here */
pFcb = (PVFATFCB) FileObject->FsContext; pFcb = (PVFATFCB) FileObject->FsContext;
if (pFcb) if (!pFcb)
{ return STATUS_SUCCESS;
if (pFcb->Flags & FCB_IS_VOLUME) if (pFcb->Flags & FCB_IS_VOLUME)
{ {
pFcb->OpenHandleCount--; pFcb->OpenHandleCount--;
@ -111,14 +112,14 @@ VfatCleanupFile(PVFAT_IRP_CONTEXT IrpContext)
ExReleaseResourceLite (&pFcb->PagingIoResource); ExReleaseResourceLite (&pFcb->PagingIoResource);
ExReleaseResourceLite (&pFcb->MainResource); ExReleaseResourceLite (&pFcb->MainResource);
} }
}
return STATUS_SUCCESS; return STATUS_SUCCESS;
} }
NTSTATUS VfatCleanup (PVFAT_IRP_CONTEXT IrpContext)
/* /*
* FUNCTION: Cleans up after a file has been closed. * FUNCTION: Cleans up after a file has been closed.
*/ */
NTSTATUS VfatCleanup(PVFAT_IRP_CONTEXT IrpContext)
{ {
NTSTATUS Status; NTSTATUS Status;