Show
Ignore:
Timestamp:
07/15/08 10:05:10 (4 years ago)
Author:
mwhitworth
Message:

Add comments, fix warnings.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Whitix/branches/fs/fs/ext3/super.c

    r807 r809  
    108108{ 
    109109        struct Ext3SbInfo* sb=EXT3_SUPERINFO(superBlock); 
    110         unsigned long block; 
     110//      unsigned long block; 
    111111 
    112112        return sb->sbSector+i+1; 
     
    128128         
    129129        sbInfo->sbBuffer=BlockRead(superBlock->sDevice, sector); 
     130 
     131        if (!sbInfo->sbBuffer) 
     132                return -EIO; 
     133 
    130134        sbInfo->super=(struct Ext3SuperBlock*)((sbInfo->sbBuffer->data)+offset); 
    131         sbInfo->sbSector=sector;         
     135        sbInfo->sbSector=sector; 
     136 
     137        return 0;        
    132138} 
    133139