projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NTFS]
[reactos.git]
/
reactos
/
drivers
/
filesystems
/
ntfs
/
fsctl.c
diff --git
a/reactos/drivers/filesystems/ntfs/fsctl.c
b/reactos/drivers/filesystems/ntfs/fsctl.c
index
fd59588
..
67f2664
100644
(file)
--- a/
reactos/drivers/filesystems/ntfs/fsctl.c
+++ b/
reactos/drivers/filesystems/ntfs/fsctl.c
@@
-89,6
+89,10
@@
NtfsHasFileSystem(PDEVICE_OBJECT DeviceToMount)
return STATUS_UNRECOGNIZED_VOLUME;
}
}
+ else if (DiskGeometry.MediaType == Unknown)
+ {
+ DiskGeometry.BytesPerSector = 512;
+ }
DPRINT1("BytesPerSector: %lu\n", DiskGeometry.BytesPerSector);
BootSector = ExAllocatePoolWithTag(NonPagedPool,