2 /* This file contains the table used to map file system calls onto the
3 * routines that perform them.
13 struct fsdriver mfs_table
= {
14 .fdr_mount
= fs_mount
,
15 .fdr_unmount
= fs_unmount
,
16 .fdr_lookup
= fs_lookup
,
17 .fdr_putnode
= fs_putnode
,
18 .fdr_read
= fs_readwrite
,
19 .fdr_write
= fs_readwrite
,
20 .fdr_peek
= fs_readwrite
,
21 .fdr_getdents
= fs_getdents
,
22 .fdr_trunc
= fs_trunc
,
24 .fdr_create
= fs_create
,
25 .fdr_mkdir
= fs_mkdir
,
26 .fdr_mknod
= fs_mknod
,
28 .fdr_unlink
= fs_unlink
,
29 .fdr_rmdir
= fs_unlink
,
30 .fdr_rename
= fs_rename
,
31 .fdr_slink
= fs_slink
,
32 .fdr_rdlink
= fs_rdlink
,
34 .fdr_chown
= fs_chown
,
35 .fdr_chmod
= fs_chmod
,
36 .fdr_utime
= fs_utime
,
37 .fdr_mountpt
= fs_mountpt
,
38 .fdr_statvfs
= fs_statvfs
,
40 .fdr_driver
= lmfs_driver
,
41 .fdr_bread
= lmfs_bio
,
42 .fdr_bwrite
= lmfs_bio
,
43 .fdr_bpeek
= lmfs_bio
,
44 .fdr_bflush
= lmfs_bflush