Changeset 2047
- Timestamp:
- 04/03/09 19:07:29 (3 years ago)
- Location:
- Whitix/trunk/fs/fat
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
Whitix/trunk/fs/fat/file.c
r1909 r2047 105 105 while (offset--) 106 106 { 107 retVal=FatAccess(vNode->superBlock, retVal, -1); 107 retVal = FatAccess(vNode->superBlock, retVal, -1); 108 108 109 if (retVal >= fatSbInfo->invalidCluster) 109 110 { -
Whitix/trunk/fs/fat/vnode.c
r1911 r2047 170 170 { 171 171 struct FatSbInfo* sbInfo=FatGetSbPriv(superBlock); 172 173 if (sbInfo->fatType == 32 && start == 0) 174 start = sbInfo->rootDirStart; 175 172 176 if (sbInfo->fatType != 32 && start == sbInfo->rootDirStart) 173 177 return FatScanDirRootRaw(superBlock,start,name,retVal,vNum,wantedStart); … … 219 223 220 224 err=FatScanDirRaw(dir->superBlock,startCluster,FAT_DOTDOT,NULL,NULL,&gpCluster); 225 221 226 if (err) 222 227 return err;
