X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fdrivers%2Ffilesystems%2Fcdfs%2Fdispatch.c;h=4b1434757b4c6a6f0b84ad8f9cda8b1ad4dad697;hp=d8d13192cf66eb4fc6e1e966da03cc2b58c7b13b;hb=3c64b4cbe9d82b72e2ae173258865fbfb9e06119;hpb=03d7bcb26c437be6b10cae1b052663707920c33a diff --git a/reactos/drivers/filesystems/cdfs/dispatch.c b/reactos/drivers/filesystems/cdfs/dispatch.c index d8d13192cf6..4b1434757b4 100644 --- a/reactos/drivers/filesystems/cdfs/dispatch.c +++ b/reactos/drivers/filesystems/cdfs/dispatch.c @@ -63,7 +63,7 @@ CdfsLockControl( DPRINT("CdfsLockControl(IrpContext %p)\n", IrpContext); - if (IrpContext->DeviceObject == CdfsGlobalData->DeviceObject) + if (IrpContext->DeviceObject == CdfsGlobalData->CdFsDeviceObject || IrpContext->DeviceObject == CdfsGlobalData->HddFsDeviceObject) { return STATUS_INVALID_DEVICE_REQUEST; }