This source file includes following definitions.
- minix_put_inode
1
2
3
4
5
6
7 #include <linux/fs.h>
8 #include <linux/minix_fs.h>
9
10 void minix_put_inode(struct inode *inode)
11 {
12 inode->i_size = 0;
13 minix_truncate(inode);
14 minix_free_inode(inode);
15 }
16
17
18
19
20 struct inode_operations minix_inode_operations = {
21 minix_create,
22 minix_lookup,
23 minix_link,
24 minix_unlink,
25 minix_symlink,
26 minix_mkdir,
27 minix_rmdir,
28 minix_mknod,
29 minix_rename,
30 minix_readlink,
31 minix_open,
32 minix_release,
33 minix_follow_link,
34 minix_bmap,
35 minix_truncate,
36 minix_write_inode,
37 minix_put_inode
38 };
39
40
41
42
43
44 struct file_operations minix_file_operations = {
45 NULL,
46 minix_file_read,
47 minix_file_write,
48 NULL,
49 NULL,
50 NULL,
51 NULL
52 };
53
54 struct file_operations minix_dir_operations = {
55 NULL,
56 minix_file_read,
57 NULL,
58 minix_readdir,
59 NULL,
60 NULL,
61 NULL
62 };