|
|
1.1 root 1: /*
2: * linux/fs/minix/minix_op.c
3: *
4: * structures for the minix super_block/inode/file-operations
5: */
6:
7: #include <linux/fs.h>
8: #include <linux/minix_fs.h>
9:
1.1.1.2 ! root 10: void minix_put_inode(struct inode *inode)
! 11: {
! 12: minix_truncate(inode);
! 13: minix_free_inode(inode);
! 14: }
! 15:
1.1 root 16: /*
17: * These are the low-level inode operations for minix filesystem inodes.
18: */
19: struct inode_operations minix_inode_operations = {
20: minix_create,
21: minix_lookup,
22: minix_link,
23: minix_unlink,
24: minix_symlink,
25: minix_mkdir,
26: minix_rmdir,
27: minix_mknod,
28: minix_rename,
29: minix_readlink,
30: minix_open,
31: minix_release,
1.1.1.2 ! root 32: minix_follow_link,
! 33: minix_bmap,
! 34: minix_truncate,
! 35: minix_write_inode,
! 36: minix_put_inode
1.1 root 37: };
38:
39: /*
1.1.1.2 ! root 40: * We have mostly NULL's here: the current defaults are ok for
1.1 root 41: * the minix filesystem.
42: */
43: struct file_operations minix_file_operations = {
44: NULL, /* lseek */
45: NULL, /* read */
1.1.1.2 ! root 46: NULL, /* write */
! 47: minix_readdir
1.1 root 48: };
49:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.