summaryrefslogtreecommitdiff
path: root/minix/fs/ext2/table.c
blob: 684d89c1329e869e424c3224a1cf2bdfaf6bae26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/* This file contains the table used to map file system calls onto the
 * routines that perform them.
 *
 * Created (MFS based):
 *   February 2010 (Evgeniy Ivanov)
 */

#define _TABLE

#include "fs.h"
#include "inode.h"
#include "buf.h"
#include "super.h"

struct fsdriver ext2_table = {
	.fdr_mount	= fs_mount,
	.fdr_unmount	= fs_unmount,
	.fdr_lookup	= fs_lookup,
	.fdr_putnode	= fs_putnode,
	.fdr_read	= fs_readwrite,
	.fdr_write	= fs_readwrite,
	.fdr_peek	= fs_readwrite,
	.fdr_getdents	= fs_getdents,
	.fdr_trunc	= fs_trunc,
	.fdr_seek	= fs_seek,
	.fdr_create	= fs_create,
	.fdr_mkdir	= fs_mkdir,
	.fdr_mknod	= fs_mknod,
	.fdr_link	= fs_link,
	.fdr_unlink	= fs_unlink,
	.fdr_rmdir	= fs_unlink,
	.fdr_rename	= fs_rename,
	.fdr_slink	= fs_slink,
	.fdr_rdlink	= fs_rdlink,
	.fdr_stat	= fs_stat,
	.fdr_chown	= fs_chown,
	.fdr_chmod	= fs_chmod,
	.fdr_utime	= fs_utime,
	.fdr_mountpt	= fs_mountpt,
	.fdr_statvfs	= fs_statvfs,
	.fdr_sync	= fs_sync,
	.fdr_driver	= lmfs_driver,
	.fdr_bread	= lmfs_bio,
	.fdr_bwrite	= lmfs_bio,
	.fdr_bpeek	= lmfs_bio,
	.fdr_bflush	= lmfs_bflush
};