Author: pschweitzer
Date: Sat Jun 10 05:45:26 2017
New Revision: 74979
URL:
http://svn.reactos.org/svn/reactos?rev=74979&view=rev
Log:
[UDFS]
Fix UDFS volume size computation.
Note that side effect of this is that free space computation is broken;
due to larger bitmap walk. To be fixed...
CORE-4375
CORE-13366
Modified:
trunk/reactos/drivers/filesystems/udfs/udf_info/mount.cpp
Modified: trunk/reactos/drivers/filesystems/udfs/udf_info/mount.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/udfs/u…
==============================================================================
--- trunk/reactos/drivers/filesystems/udfs/udf_info/mount.cpp [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/udfs/udf_info/mount.cpp [iso-8859-1] Sat Jun 10
05:45:26 2017
@@ -2044,9 +2044,7 @@
if(Vcb->Partitions[i].PartitionNum == (p->partitionNumber)) {
Found = TRUE;
Vcb->Partitions[i].PartitionRoot = p->partitionStartingLocation +
Vcb->FirstLBA;
- Vcb->Partitions[i].PartitionLen =
- min(p->partitionLength,
- Vcb->LastPossibleLBA - Vcb->Partitions[i].PartitionRoot); /*
sectors */
+ Vcb->Partitions[i].PartitionLen = p->partitionLength;
Vcb->Partitions[i].UspaceBitmap = 0xFFFFFFFF;
Vcb->Partitions[i].FspaceBitmap = 0xFFFFFFFF;
Vcb->Partitions[i].AccessType = p->accessType;