1
0
mirror of https://github.com/winfsp/winfsp.git synced 2025-12-23 04:22:07 -06:00

sys: FSP_FSCTL_DEVICE_EXTENSION: add Resource

This commit is contained in:
Bill Zissimopoulos
2015-11-29 14:06:21 -08:00
parent b4f64c3378
commit a082cc1516
4 changed files with 5 additions and 0 deletions

View File

@@ -140,6 +140,7 @@ static NTSTATUS FspFsctlMountVolume(
&FsvolDeviceObject);
if (NT_SUCCESS(Result))
{
#pragma prefast(suppress:28175, "We are a filesystem: ok to access SectorSize")
FsvolDeviceObject->SectorSize =
FspFsvrtDeviceExtension(FsvrtDeviceObject)->VolumeParams.SectorSize;
FsvolDeviceExtension = FspFsvolDeviceExtension(FsvolDeviceObject);