 

       s_op,   -
    .    -
    struct super_operations,    
<linux/fs . h>.    .

struct super_operations {

struct inode *(*alloc inode) (struct super block *sb) ;

void (*destroy_inode) (struct inode *);

void (*read inode) (struct inode *);

void (*dirty inode) (struct inode *) ;

void (*write inode) (struct inode *, int) ;

void (*put_inode) (struct inode *);

void (*drop inode) (struct inode *);

void (*delete_inode) (struct inode *);

void (*put_super) (struct super block *);

void (*write_super) (struct super_block *);

int (*sync fs) (struct super block *, int) ;

void (*write_super_lockfs) (struct super_block *);

void (*unlockfs) (struct super block.*);

int (*statfs) (struct super_block *, struct statfs *);

int (*remount fs) (struct super block *, int *, char *) ;

void (*clear_inode) (struct inode *) ;

void (*umount begin) (struct super block *);

int (*show_options) (struct seq_file *, struct vfsmount *);

};

        , 
   .    
       .

        , 
    ,    
  . ,      -
,    .

sb->s op->write super(sb);

  sb       .   -
 s_op,     , ,  
write_super (),   .   
 ,    write_super ()     -
   ,        .  -
  ,      -.  C++
      .

sb.write super();

         ,   -
 ,     .

  ,     super_opera-

tions. '

272  12