diff options
| author | Abenezer Tamene <[email protected]> | 2025-06-23 02:13:13 -0700 |
|---|---|---|
| committer | Abenezer Tamene <[email protected]> | 2025-06-23 02:13:13 -0700 |
| commit | f79d24e9a46698f0666130bd41edb133f220a2da (patch) | |
| tree | 685ec3ca62318c14f48c3c51ba1120a1d862b9c8 /storage/class/disk/src/diskwmi.c | |
| parent | a4440c5da6d6bcd99b0ac576651117e2daffa50f (diff) | |
other classpnp and disk fixes
Diffstat (limited to 'storage/class/disk/src/diskwmi.c')
| -rw-r--r-- | storage/class/disk/src/diskwmi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/class/disk/src/diskwmi.c b/storage/class/disk/src/diskwmi.c index 7503e5a1..de2d7eee 100644 --- a/storage/class/disk/src/diskwmi.c +++ b/storage/class/disk/src/diskwmi.c @@ -1739,7 +1739,7 @@ DiskInfoExceptionComplete( // // Reset byte count of transfer in SRB Extension. // - srbEx->DataTransferLength = Irp->MdlAddress->ByteCount; + srbEx->DataTransferLength = MmGetMdlByteCount(Irp->MdlAddress); // // Zero SRB statuses. @@ -1768,7 +1768,7 @@ DiskInfoExceptionComplete( // // Reset byte count of transfer in SRB Extension. // - srb->DataTransferLength = Irp->MdlAddress->ByteCount; + srb->DataTransferLength = MmGetMdlByteCount(Irp->MdlAddress); // // Zero SRB statuses. |
