- move primary I/O buffer into vtreefs; change read hook API; - add hooks for write, truncate, symlink, mknod, unlink, chmod/chown; - modernize message_hook; - change procfs, devman, gpio accordingly; Change-Id: I9f0669e41195efa3253032e95d93f0a78e9d68d6
25 lines
558 B
C
25 lines
558 B
C
/* VTreeFS - table.c - file system driver callback table */
|
|
|
|
#define _TABLE
|
|
#include "inc.h"
|
|
|
|
struct fsdriver vtreefs_table = {
|
|
.fdr_mount = fs_mount,
|
|
.fdr_unmount = fs_unmount,
|
|
.fdr_lookup = fs_lookup,
|
|
.fdr_putnode = fs_putnode,
|
|
.fdr_read = fs_read,
|
|
.fdr_write = fs_write,
|
|
.fdr_getdents = fs_getdents,
|
|
.fdr_trunc = fs_trunc,
|
|
.fdr_mknod = fs_mknod,
|
|
.fdr_unlink = fs_unlink,
|
|
.fdr_slink = fs_slink,
|
|
.fdr_rdlink = fs_rdlink,
|
|
.fdr_stat = fs_stat,
|
|
.fdr_chmod = fs_chmod,
|
|
.fdr_chown = fs_chown,
|
|
.fdr_statvfs = fs_statvfs,
|
|
.fdr_other = fs_other
|
|
};
|