[FASTFAT]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Wed, 25 Aug 2010 08:29:52 +0000 (08:29 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Wed, 25 Aug 2010 08:29:52 +0000 (08:29 +0000)
- "Fix for a stupid mistake"
- patch by Pierre Schweitzer

svn path=/trunk/; revision=48618

reactos/drivers/filesystems/fastfat/pnp.c

index a1e909e..b77c04c 100644 (file)
@@ -29,6 +29,8 @@ NTSTATUS VfatPnp(PVFAT_IRP_CONTEXT IrpContext)
     case IRP_MN_REMOVE_DEVICE:
     case IRP_MN_CANCEL_REMOVE_DEVICE:
       Status = STATUS_NOT_IMPLEMENTED;
+      IrpContext->Irp->IoStatus.Status = Status;
+      IoCompleteRequest(IrpContext->Irp, IO_NO_INCREMENT);
       break;
     default:
       IoSkipCurrentIrpStackLocation(IrpContext->Irp);