Changeset 430 for trunk/kernel/fs/vfs.c


Ignore:
Timestamp:
Jan 29, 2018, 6:10:17 PM (6 years ago)
Author:
alain
Message:

blop

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/fs/vfs.c

    r409 r430  
    3535#include <slist.h>
    3636#include <xhtab.h>
     37#include <string.h>
    3738#include <rpc.h>
    3839#include <errno.h>
     
    166167    {
    167168        ctx = NULL;
    168                 panic("illegal file system type = %d" , fs_type );
     169                assert( false , __FUNCTION__ , "illegal file system type = %d\n" , fs_type );
    169170    }
    170171
     
    243244    if( inode->refcount )
    244245    {
    245         panic("inode refcount non zero");
     246        assert( false , __FUNCTION__ , "inode refcount non zero\n" );
    246247    }       
    247248
     
    425426    {
    426427        ctx = NULL;
    427         panic("undefined file system type");
     428        assert( false , __FUNCTION__ , "undefined file system type\n" );
    428429    }
    429430
     
    476477    if( dentry->refcount )
    477478    {
    478         panic("dentry refcount non zero");
     479        assert( false , __FUNCTION__ , "dentry refcount non zero\n" );
    479480    }       
    480481
     
    529530    if( file->refcount )
    530531    {
    531         panic("file refcount non zero");
     532        assert( false , __FUNCTION__ , "refcount non zero\n" );
    532533    }       
    533534
     
    883884                    char   * path )
    884885{
    885     panic("not implemented");
     886    assert( false , __FUNCTION__ , "not implemented\n" );
    886887    return 0;
    887888}
     
    891892                  struct stat * k_stat )
    892893{
    893     panic("not implemented");
     894    assert( false , __FUNCTION__ , "not implemented\n" );
    894895    return 0;
    895896}
     
    899900                     struct dirent * k_dirent )
    900901{
    901     panic("not implemented");
     902    assert( false , __FUNCTION__ , "not implemented\n" );
    902903    return 0;
    903904}
     
    908909                   uint32_t   mode )
    909910{
    910     panic("not implemented");
     911    assert( false , __FUNCTION__ , "not implemented\n" );
    911912    return 0;
    912913}
     
    916917                   char   * path )
    917918{
    918     panic("not implemented");
     919    assert( false , __FUNCTION__ , "not implemented\n" );
    919920    return 0;
    920921}
     
    952953    }
    953954
    954     panic("not fully implemented");
     955    assert( false , __FUNCTION__ , "not implemented\n" );
    955956    return 0;
    956957}
     
    984985
    985986   
    986     panic("not fully implemented");
     987    assert( false , __FUNCTION__ , "not implemented\n" );
    987988    return 0;
    988989}
     
    993994                    uint32_t rights )
    994995{
    995     panic("not implemented");
     996    assert( false , __FUNCTION__ , "not implemented\n" );
    996997    return 0;
    997998}
Note: See TracChangeset for help on using the changeset viewer.