Changeset 41549 in vbox for trunk/src/VBox/Runtime/common/dvm/dvmbsdlabel.cpp
- Timestamp:
- Jun 1, 2012 5:29:05 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/dvm/dvmbsdlabel.cpp
r40949 r41549 343 343 } 344 344 345 static DECLCALLBACK(int) rtDvmFmtBsdLblQueryRangeUse(RTDVMFMT hVolMgrFmt, 346 uint64_t off, uint64_t cbRange, 347 bool *pfUsed) 348 { 349 PRTDVMFMTINTERNAL pThis = hVolMgrFmt; 350 351 if (off <= RTDVM_BSDLBL_LBA2BYTE(1, pThis->pDisk)) 352 *pfUsed = true; 353 else 354 *pfUsed = false; 355 356 return VINF_SUCCESS; 357 } 358 345 359 DECLCALLBACK(uint32_t) rtDvmFmtBsdLblGetValidVolumes(RTDVMFMT hVolMgrFmt) 346 360 { … … 513 527 /* pfnClose */ 514 528 rtDvmFmtBsdLblClose, 529 /* pfnQueryRangeUse */ 530 rtDvmFmtBsdLblQueryRangeUse, 515 531 /* pfnGetValidVolumes */ 516 532 rtDvmFmtBsdLblGetValidVolumes,
Note:
See TracChangeset
for help on using the changeset viewer.