mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:25:39 +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 ****************************************************************/
|
/* 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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue