mirror of
https://github.com/winfsp/winfsp.git
synced 2025-06-08 13:02:10 -05:00
sys: volume: allow the IRP debug timeout value on all builds
This commit is contained in:
parent
d2828b3e8c
commit
f1d75a2653
@ -93,11 +93,9 @@ NTSTATUS FspVolumeCreate(
|
|||||||
if (FspFsctlIrpTimeoutMinimum > VolumeParams.IrpTimeout ||
|
if (FspFsctlIrpTimeoutMinimum > VolumeParams.IrpTimeout ||
|
||||||
VolumeParams.IrpTimeout > FspFsctlIrpTimeoutMaximum)
|
VolumeParams.IrpTimeout > FspFsctlIrpTimeoutMaximum)
|
||||||
{
|
{
|
||||||
#if DBG
|
/* special: allow the debug timeout value on all builds */
|
||||||
/* allow the debug timeout value on debug builds */
|
|
||||||
if (FspFsctlIrpTimeoutDebug != VolumeParams.IrpTimeout)
|
if (FspFsctlIrpTimeoutDebug != VolumeParams.IrpTimeout)
|
||||||
#endif
|
VolumeParams.IrpTimeout = FspFsctlIrpTimeoutDefault;
|
||||||
VolumeParams.IrpTimeout = FspFsctlIrpTimeoutDefault;
|
|
||||||
}
|
}
|
||||||
if (FspFsctlIrpCapacityMinimum > VolumeParams.IrpCapacity ||
|
if (FspFsctlIrpCapacityMinimum > VolumeParams.IrpCapacity ||
|
||||||
VolumeParams.IrpCapacity > FspFsctlIrpCapacityMaximum)
|
VolumeParams.IrpCapacity > FspFsctlIrpCapacityMaximum)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user