Next | Internals of ext2fs | 12 |
struct super_block { ... struct super_operations *s_op; ... }
Just by way of example:
struct super_operations { void (*read_inode) (struct inode *); void (*dirty_inode) (struct inode *); void (*write_inode) (struct inode *, int); void (*delete_inode) (struct inode *); void (*write_super) (struct super_block *); int (*statfs) (struct super_block *, struct statfs *); ... };
(I omitted several other operations here.)
End of digression
Next | Copyright © 2001 M. J. Dominus |