1
2
3
4
5
6
7
8
9
10
11 #include <linux/sched.h>
12 #include <linux/iso_fs.h>
13 #include <linux/fcntl.h>
14 #include <linux/kernel.h>
15 #include <linux/errno.h>
16 #include <linux/stat.h>
17 #include <linux/locks.h>
18 #include <linux/fs.h>
19 #include <linux/iso_fs.h>
20
21
22
23
24
25 static struct file_operations isofs_file_operations = {
26 NULL,
27 generic_file_read,
28 NULL,
29 NULL,
30 NULL,
31 NULL,
32 generic_file_mmap,
33 NULL,
34 NULL,
35 NULL
36 };
37
38 struct inode_operations isofs_file_inode_operations = {
39 &isofs_file_operations,
40 NULL,
41 NULL,
42 NULL,
43 NULL,
44 NULL,
45 NULL,
46 NULL,
47 NULL,
48 NULL,
49 NULL,
50 NULL,
51 generic_readpage,
52 NULL,
53 isofs_bmap,
54 NULL,
55 NULL
56 };