LJ Archive

Listing 2. The super_operations Structure

struct super_operations {
   /* fill the structure */
    void (*read_inode) (struct inode *);<\n>
    int (*notify_change) (struct inode *,
          struct iattr *);
    void (*write_inode) (struct inode *);
    void (*put_inode) (struct inode *);
    void (*put_super) (struct super_block *);
    void (*write_super) (struct super_block *);
    void (*statfs) (struct super_block *,
           struct statfs *, int);
    int (*remount_fs) (struct super_block *,
           int *, char *);
};
LJ Archive