mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Added shutdown description
svn path=/trunk/; revision=1511
This commit is contained in:
parent
36c7b523ee
commit
7efa62275f
1 changed files with 19 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: shutdown.c,v 1.2 2001/01/12 21:00:08 dwelch Exp $
|
/* $Id: shutdown.c,v 1.3 2001/01/14 15:28:50 ekohl Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -25,7 +25,24 @@ VfatShutdown(PDEVICE_OBJECT DeviceObject, PIRP Irp)
|
||||||
|
|
||||||
DPRINT("VfatShutdown(DeviceObject %x, Irp %x)\n",DeviceObject, Irp);
|
DPRINT("VfatShutdown(DeviceObject %x, Irp %x)\n",DeviceObject, Irp);
|
||||||
|
|
||||||
/* FIXME: Shut down the file system */
|
#if 0
|
||||||
|
/* FIXME: block new mount requests */
|
||||||
|
|
||||||
|
|
||||||
|
/* FIXME: Traverse list of logical volumes. For each volume: */
|
||||||
|
{
|
||||||
|
/* FIXME: acquire vcb resource exclusively */
|
||||||
|
|
||||||
|
/* FIXME: Flush logical volume */
|
||||||
|
|
||||||
|
/* FIXME: send IRP_MJ_SHUTDOWN to each volume */
|
||||||
|
|
||||||
|
/* FIXME: wait for completion of IRP_MJ_SHUTDOWN */
|
||||||
|
|
||||||
|
/* FIXME: release vcb resource */
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
Status = STATUS_SUCCESS;
|
Status = STATUS_SUCCESS;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue