panic() cleanup.
[minix.git] / servers / mfs / table.c
blob53c04f8d6e7e4f455936ff42f954eae44459e5e3
2 /* This file contains the table used to map system call numbers onto the
3 * routines that perform them.
4 */
6 #define _TABLE
8 #include "fs.h"
9 #include <minix/callnr.h>
10 #include <minix/com.h>
11 #include "inode.h"
12 #include "buf.h"
13 #include "super.h"
14 #include "drivers.h"
16 PUBLIC _PROTOTYPE (int (*fs_call_vec[]), (void) ) = {
17 no_sys, /* 0 not used */
18 no_sys, /* 1 */ /* Was: fs_getnode */
19 fs_putnode, /* 2 */
20 fs_slink, /* 3 */
21 fs_ftrunc, /* 4 */
22 fs_chown, /* 5 */
23 fs_chmod, /* 6 */
24 fs_inhibread, /* 7 */
25 fs_stat, /* 8 */
26 fs_utime, /* 9 */
27 fs_fstatfs, /* 10 */
28 fs_breadwrite, /* 11 */
29 fs_breadwrite, /* 12 */
30 fs_unlink, /* 13 */
31 fs_unlink, /* 14 */
32 fs_unmount, /* 15 */
33 fs_sync, /* 16 */
34 fs_new_driver, /* 17 */
35 fs_flush, /* 18 */
36 fs_readwrite, /* 19 */
37 fs_readwrite, /* 20 */
38 fs_mknod, /* 21 */
39 fs_mkdir, /* 22 */
40 fs_create, /* 23 */
41 fs_link, /* 24 */
42 fs_rename, /* 25 */
43 fs_lookup, /* 26 */
44 fs_mountpoint, /* 27 */
45 fs_readsuper, /* 28 */
46 fs_newnode, /* 29 */
47 fs_rdlink, /* 30 */
48 fs_getdents, /* 31 */