From 37ee58c63636aaff606adaf6c9f023ab16298440 Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Mon, 30 Nov 2015 11:33:00 -0800 Subject: [PATCH] sys: WIP --- src/sys/fsctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sys/fsctl.c b/src/sys/fsctl.c index 09d8e3a5..8e0ab932 100644 --- a/src/sys/fsctl.c +++ b/src/sys/fsctl.c @@ -180,7 +180,7 @@ static NTSTATUS FspFsctlMountVolume( PDEVICE_OBJECT *DeviceObjects = 0; ULONG DeviceObjectCount = 0; PVPB Vpb = IrpSp->Parameters.MountVolume.Vpb; - PDEVICE_OBJECT FsvrtDeviceObject = Vpb->RealDevice; + PDEVICE_OBJECT FsvrtDeviceObject = IrpSp->Parameters.MountVolume.DeviceObject; PDEVICE_OBJECT FsvolDeviceObject; FSP_FSVRT_DEVICE_EXTENSION *FsvrtDeviceExtension = FspFsvrtDeviceExtension(FsvrtDeviceObject);