Changeset 69888 in vbox for trunk/src/VBox/Runtime/common/fs
- Timestamp:
- Nov 30, 2017 5:49:44 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/fs/ntfsvfs.cpp
r69885 r69888 1124 1124 1125 1125 1126 /** 1127 * Allocate and parse an MFT record, returning a core object structure. 1128 * 1129 * @returns IPRT status code. 1130 * @param pThis The NTFS volume instance. 1131 * @param idxMft The index of the MTF record. 1132 * @param ppCore Where to return the core object structure. 1133 * @param pErrInfo Where to return error details. Optional. 1134 */ 1126 1135 static int rtFsNtfsVol_NewCoreForMftIdx(PRTFSNTFSVOL pThis, uint64_t idxMft, PRTFSNTFSCORE *ppCore, PRTERRINFO pErrInfo) 1127 1136 { 1137 *ppCore = NULL; 1128 1138 Assert(pThis->pMftData); 1129 1139 Assert(RTAvlU64Get(&pThis->MftRoot, idxMft) == NULL); … … 1435 1445 { 1436 1446 *pfUsed = true; 1437 LogFlow(("rtFsNtfsVol_QueryRangeState: %RX64 LB %#x - used\n", off , cb));1447 LogFlow(("rtFsNtfsVol_QueryRangeState: %RX64 LB %#x - used\n", off & ~(uint64_t)(pThis->cbCluster - 1), cb)); 1438 1448 return VINF_SUCCESS; 1439 1449 } … … 1442 1452 } while (cClusters-- > 0); 1443 1453 1444 LogFlow(("rtFsNtfsVol_QueryRangeState: %RX64 LB %#x - unused\n", off , cb));1454 LogFlow(("rtFsNtfsVol_QueryRangeState: %RX64 LB %#x - unused\n", off & ~(uint64_t)(pThis->cbCluster - 1), cb)); 1445 1455 *pfUsed = false; 1446 1456 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.