1
0
mirror of https://github.com/winfsp/winfsp.git synced 2025-10-30 11:38:39 -05:00

Major refactoring: testing

This commit is contained in:
Bill Zissimopoulos
2015-12-23 12:28:56 -08:00
parent 0191b9551b
commit 41269e9d21
6 changed files with 25 additions and 10 deletions

View File

@@ -77,6 +77,8 @@ NTSTATUS FspVolumeCreate(
}
/* check the VolumeParams */
if (0 == VolumeParams.SectorSize)
VolumeParams.SectorSize = 512;
if (FspFsctlTransactTimeoutMinimum > VolumeParams.TransactTimeout ||
VolumeParams.TransactTimeout > FspFsctlTransactTimeoutMaximum)
VolumeParams.TransactTimeout = FspFsctlTransactTimeoutDefault;