Author: fireball
Date: Thu Sep 11 07:41:26 2008
New Revision: 36135
URL:
http://svn.reactos.org/svn/reactos?rev=36135&view=rev
Log:
- Silence the raised IRQL level warning.
- Use a better status code for invalid requests.
Modified:
trunk/reactos/drivers/filesystems/fastfat/fastio.c
trunk/reactos/drivers/filesystems/fastfat/misc.c
Modified: trunk/reactos/drivers/filesystems/fastfat/fastio.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/fastfa…
==============================================================================
--- trunk/reactos/drivers/filesystems/fastfat/fastio.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/fastfat/fastio.c [iso-8859-1] Thu Sep 11 07:41:26
2008
@@ -289,7 +289,7 @@
IN PDEVICE_OBJECT DeviceObject)
{
DPRINT("VfatReleaseForModWrite\n");
- return STATUS_UNSUCCESSFUL;
+ return STATUS_INVALID_DEVICE_REQUEST;
}
static NTSTATUS NTAPI
@@ -297,7 +297,7 @@
IN PDEVICE_OBJECT DeviceObject)
{
DPRINT("VfatAcquireForCcFlush\n");
- return STATUS_UNSUCCESSFUL;
+ return STATUS_INVALID_DEVICE_REQUEST;
}
static NTSTATUS NTAPI
@@ -305,7 +305,7 @@
IN PDEVICE_OBJECT DeviceObject)
{
DPRINT("VfatReleaseForCcFlush\n");
- return STATUS_UNSUCCESSFUL;
+ return STATUS_INVALID_DEVICE_REQUEST;
}
BOOLEAN NTAPI
Modified: trunk/reactos/drivers/filesystems/fastfat/misc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/fastfa…
==============================================================================
--- trunk/reactos/drivers/filesystems/fastfat/misc.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/fastfat/misc.c [iso-8859-1] Thu Sep 11 07:41:26
2008
@@ -156,11 +156,6 @@
}
else
{
- if (KeGetCurrentIrql() > PASSIVE_LEVEL)
- {
- DPRINT1("Vfat is entered at irql = %d\n", KeGetCurrentIrql());
- }
-
FsRtlEnterFileSystem();
Status = VfatDispatchRequest (IrpContext);
FsRtlExitFileSystem();