- Timestamp:
- Aug 17, 2017, 11:20:49 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/vfs/vfs.c
r380 r395 166 166 { 167 167 ctx = NULL; 168 printk("\n[PANIC] in %s : illegal file system type = %d\n", __FUNCTION__ , fs_type ); 169 hal_core_sleep(); 168 panic("illegal file system type = %d" , fs_type ); 170 169 } 171 170 … … 244 243 if( inode->refcount ) 245 244 { 246 printk("\n[PANIC] in %s : inode refcount non zero\n", __FUNCTION__ ); 247 hal_core_sleep(); 245 panic("inode refcount non zero"); 248 246 } 249 247 … … 447 445 { 448 446 ctx = NULL; 449 printk("\n[PANIC] in %s : undefined file system type\n", __FUNCTION__ ); 450 hal_core_sleep(); 447 panic("undefined file system type"); 451 448 } 452 449 … … 499 496 if( dentry->refcount ) 500 497 { 501 printk("\n[PANIC] in %s : dentry refcount non zero\n", __FUNCTION__ ); 502 hal_core_sleep(); 498 panic("dentry refcount non zero"); 503 499 } 504 500 … … 553 549 if( file->refcount ) 554 550 { 555 printk("\n[PANIC] in %s : file refcount non zero\n", __FUNCTION__ ); 556 hal_core_sleep(); 551 panic("file refcount non zero"); 557 552 } 558 553 … … 911 906 char * path ) 912 907 { 913 printk("\n[PANIC] %s non implemented\n", __FUNCTION__ ); 914 hal_core_sleep(); 908 panic("not implemented"); 915 909 return 0; 916 910 } // vfs_unlink() … … 920 914 vfs_stat_t * k_stat ) 921 915 { 922 printk("\n[PANIC] %s non implemented\n", __FUNCTION__ ); 923 hal_core_sleep(); 916 panic("not implemented"); 924 917 return 0; 925 918 } … … 929 922 vfs_dirent_t * k_dirent ) 930 923 { 931 printk("\n[PANIC] %s non implemented\n", __FUNCTION__ ); 932 hal_core_sleep(); 924 panic("not implemented"); 933 925 return 0; 934 926 } … … 939 931 uint32_t mode ) 940 932 { 941 printk("\n[PANIC] %s non implemented\n", __FUNCTION__ ); 942 hal_core_sleep(); 933 panic("not implemented"); 943 934 return 0; 944 935 } … … 948 939 char * path ) 949 940 { 950 printk("\n[PANIC] %s non implemented\n", __FUNCTION__ ); 951 hal_core_sleep(); 941 panic("not implemented"); 952 942 return 0; 953 943 } … … 985 975 } 986 976 987 printk("\n[PANIC] %s non fully implemented\n", __FUNCTION__ ); 988 hal_core_sleep(); 977 panic("not fully implemented"); 989 978 return 0; 990 979 } … … 1018 1007 1019 1008 1020 printk("\n[PANIC] %s non fully implemented\n", __FUNCTION__ ); 1021 hal_core_sleep(); 1009 panic("not fully implemented"); 1022 1010 return 0; 1023 1011 } … … 1028 1016 uint32_t rights ) 1029 1017 { 1030 printk("\n[PANIC] in %s : not implemented yet\n", __FUNCTION__ ); 1031 hal_core_sleep(); 1018 panic("not implemented"); 1032 1019 return 0; 1033 1020 }
Note: See TracChangeset
for help on using the changeset viewer.