Changeset 430 for trunk/kernel/fs/vfs.c
- Timestamp:
- Jan 29, 2018, 6:10:17 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/fs/vfs.c
r409 r430 35 35 #include <slist.h> 36 36 #include <xhtab.h> 37 #include <string.h> 37 38 #include <rpc.h> 38 39 #include <errno.h> … … 166 167 { 167 168 ctx = NULL; 168 panic("illegal file system type = %d" , fs_type );169 assert( false , __FUNCTION__ , "illegal file system type = %d\n" , fs_type ); 169 170 } 170 171 … … 243 244 if( inode->refcount ) 244 245 { 245 panic("inode refcount non zero");246 assert( false , __FUNCTION__ , "inode refcount non zero\n" ); 246 247 } 247 248 … … 425 426 { 426 427 ctx = NULL; 427 panic("undefined file system type");428 assert( false , __FUNCTION__ , "undefined file system type\n" ); 428 429 } 429 430 … … 476 477 if( dentry->refcount ) 477 478 { 478 panic("dentry refcount non zero");479 assert( false , __FUNCTION__ , "dentry refcount non zero\n" ); 479 480 } 480 481 … … 529 530 if( file->refcount ) 530 531 { 531 panic("file refcount non zero");532 assert( false , __FUNCTION__ , "refcount non zero\n" ); 532 533 } 533 534 … … 883 884 char * path ) 884 885 { 885 panic("not implemented");886 assert( false , __FUNCTION__ , "not implemented\n" ); 886 887 return 0; 887 888 } … … 891 892 struct stat * k_stat ) 892 893 { 893 panic("not implemented");894 assert( false , __FUNCTION__ , "not implemented\n" ); 894 895 return 0; 895 896 } … … 899 900 struct dirent * k_dirent ) 900 901 { 901 panic("not implemented");902 assert( false , __FUNCTION__ , "not implemented\n" ); 902 903 return 0; 903 904 } … … 908 909 uint32_t mode ) 909 910 { 910 panic("not implemented");911 assert( false , __FUNCTION__ , "not implemented\n" ); 911 912 return 0; 912 913 } … … 916 917 char * path ) 917 918 { 918 panic("not implemented");919 assert( false , __FUNCTION__ , "not implemented\n" ); 919 920 return 0; 920 921 } … … 952 953 } 953 954 954 panic("not fully implemented");955 assert( false , __FUNCTION__ , "not implemented\n" ); 955 956 return 0; 956 957 } … … 984 985 985 986 986 panic("not fully implemented");987 assert( false , __FUNCTION__ , "not implemented\n" ); 987 988 return 0; 988 989 } … … 993 994 uint32_t rights ) 994 995 { 995 panic("not implemented");996 assert( false , __FUNCTION__ , "not implemented\n" ); 996 997 return 0; 997 998 }
Note: See TracChangeset
for help on using the changeset viewer.