Show
Ignore:
Timestamp:
02/25/09 19:44:40 (3 years ago)
Author:
mwhitworth
Message:

Formatting, remove KePrint.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Whitix/trunk/fs/isofs/super.c

    r1843 r1937  
    3030{ 
    3131        vNode->mode=((dirEntry->flags & 2) ? VFS_ATTR_DIR : VFS_ATTR_FILE) | VFS_ATTR_READ; 
    32  
     32         
    3333        if (dirEntry->flags & 0x80) 
    3434        { 
     
    3636                cli(); hlt(); 
    3737        }else 
    38                 vNode->size=dirEntry->length.native; 
     38                vNode->size = dirEntry->length.native; 
    3939 
    4040        /* Set times. */ 
     
    5151        int err=0; 
    5252 
    53         buffer=BlockRead(vNode->superBlock->sDevice,ISO_VNUM_SECTOR(vNode->id)); 
     53        buffer=BlockRead(vNode->superBlock->sDevice, ISO_VNUM_SECTOR(vNode->id)); 
    5454 
    5555        if (!buffer) 
     
    7070                if (!tmpDirEntry) 
    7171                { 
     72                        KePrint(KERN_ERROR "ISO: could not allocate directory entry.\n"); 
    7273                        err=-ENOMEM; 
    7374                        goto out; 
     
    7879                 
    7980                buffer=BlockRead(vNode->superBlock->sDevice, ISO_VNUM_SECTOR(vNode->id)+1); 
     81                 
    8082                if (!buffer) 
    8183                { 
     84                        KePrint(KERN_ERROR "ISO: could not read block %u\n", ISO_VNUM_SECTOR(vNode->id)+1); 
    8285                        err=-EIO; 
    8386                        goto out; 
     
    181184 
    182185        if (!priDesc) 
    183         { 
    184                 KePrint(KERN_ERROR "ISO: No primary descriptor found\n"); 
    185                 goto freeSuper; 
    186         } 
     186                goto freeSuper; 
    187187 
    188188        rootEntry=&priDesc->root.dirEntry;