Show
Ignore:
Timestamp:
02/28/09 13:42:23 (3 years ago)
Author:
mwhitworth
Message:

Handle root directory start when searching for ..

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Whitix/tags/0.2b/fs/fat/vnode.c

    r1911 r1950  
    170170{ 
    171171        struct FatSbInfo* sbInfo=FatGetSbPriv(superBlock); 
     172         
     173        if (sbInfo->fatType == 32 && start == 0) 
     174                start = sbInfo->rootDirStart; 
     175         
    172176        if (sbInfo->fatType != 32 && start == sbInfo->rootDirStart) 
    173177                return FatScanDirRootRaw(superBlock,start,name,retVal,vNum,wantedStart); 
     
    219223 
    220224        err=FatScanDirRaw(dir->superBlock,startCluster,FAT_DOTDOT,NULL,NULL,&gpCluster); 
     225         
    221226        if (err) 
    222227                return err;