- Timestamp:
- Dec 1, 2010 11:05:54 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/vfs/vfsmemory.cpp
r34535 r34560 183 183 { 184 184 Assert(pExtent->off <= off); 185 PRTVFSMEMEXTENT pNext = RTList NodeGetNext(&pExtent->Entry, RTVFSMEMEXTENT, Entry);186 if ( RTListNodeIsLast(&pThis->ExtentHead, &pNext->Entry)185 PRTVFSMEMEXTENT pNext = RTListGetNext(&pThis->ExtentHead, pExtent, RTVFSMEMEXTENT, Entry); 186 if ( !pNext 187 187 || pNext->off > off) 188 188 { … … 223 223 if (off - pExtent->off >= pExtent->cb) 224 224 { 225 pExtent = RTList NodeGetNext(&pExtent->Entry, RTVFSMEMEXTENT, Entry);225 pExtent = RTListGetNext(&pThis->ExtentHead, pExtent, RTVFSMEMEXTENT, Entry); 226 226 if ( !pExtent 227 227 || off - pExtent->off >= pExtent->cb) … … 759 759 pThis->cbExtent = _4K; 760 760 else if (ObjInfo.cbObject < RTVFSMEM_MAX_EXTENT_SIZE) 761 pThis->cbExtent = _4K ;761 pThis->cbExtent = _4K /* ObjInfo.cbObject */; 762 762 else 763 763 pThis->cbExtent = RTVFSMEM_MAX_EXTENT_SIZE;
Note:
See TracChangeset
for help on using the changeset viewer.