mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 13:16:07 +00:00
[FORMATTING] Fix indentation
svn path=/trunk/; revision=31740
This commit is contained in:
parent
daea1a27a5
commit
0e38eeaf88
1 changed files with 101 additions and 100 deletions
|
@ -13,11 +13,11 @@
|
|||
|
||||
/* FUNCTIONS ****************************************************************/
|
||||
|
||||
static NTSTATUS
|
||||
VfatCleanupFile(PVFAT_IRP_CONTEXT IrpContext)
|
||||
/*
|
||||
* FUNCTION: Cleans up after a file has been closed.
|
||||
*/
|
||||
static NTSTATUS
|
||||
VfatCleanupFile(PVFAT_IRP_CONTEXT IrpContext)
|
||||
{
|
||||
PVFATFCB pFcb;
|
||||
PFILE_OBJECT FileObject = IrpContext->FileObject;
|
||||
|
@ -27,8 +27,9 @@ VfatCleanupFile(PVFAT_IRP_CONTEXT IrpContext)
|
|||
|
||||
/* FIXME: handle file/directory deletion here */
|
||||
pFcb = (PVFATFCB) FileObject->FsContext;
|
||||
if (pFcb)
|
||||
{
|
||||
if (!pFcb)
|
||||
return STATUS_SUCCESS;
|
||||
|
||||
if (pFcb->Flags & FCB_IS_VOLUME)
|
||||
{
|
||||
pFcb->OpenHandleCount--;
|
||||
|
@ -111,14 +112,14 @@ VfatCleanupFile(PVFAT_IRP_CONTEXT IrpContext)
|
|||
ExReleaseResourceLite (&pFcb->PagingIoResource);
|
||||
ExReleaseResourceLite (&pFcb->MainResource);
|
||||
}
|
||||
}
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
NTSTATUS VfatCleanup (PVFAT_IRP_CONTEXT IrpContext)
|
||||
/*
|
||||
* FUNCTION: Cleans up after a file has been closed.
|
||||
*/
|
||||
NTSTATUS VfatCleanup(PVFAT_IRP_CONTEXT IrpContext)
|
||||
{
|
||||
NTSTATUS Status;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue