1 /* VTreeFS - table.c - file system driver callback table */ 2 3 #define _TABLE 4 #include "inc.h" 5 6 struct fsdriver vtreefs_table = { 7 .fdr_mount = fs_mount, 8 .fdr_unmount = fs_unmount, 9 .fdr_lookup = fs_lookup, 10 .fdr_putnode = fs_putnode, 11 .fdr_read = fs_read, 12 .fdr_write = fs_write, 13 .fdr_getdents = fs_getdents, 14 .fdr_trunc = fs_trunc, 15 .fdr_mknod = fs_mknod, 16 .fdr_unlink = fs_unlink, 17 .fdr_slink = fs_slink, 18 .fdr_rdlink = fs_rdlink, 19 .fdr_stat = fs_stat, 20 .fdr_chmod = fs_chmod, 21 .fdr_chown = fs_chown, 22 .fdr_statvfs = fs_statvfs, 23 .fdr_other = fs_other 24 }; 25