super_operations

Magnus Ahltorp (Magnus.Ahltorp@abc.se)
Sun, 16 Nov 1997 22:06:28 +0100 (MET)


I compared fs.h in 2.0.30 and 2.1.62 scanning for differences in the VFS,
and I saw this. Why has notify_change been moved in the structure?

struct super_operations {
void (*read_inode) (struct inode *);
- int (*notify_change) (struct inode *, struct iattr *);
void (*write_inode) (struct inode *);
void (*put_inode) (struct inode *);
+ void (*delete_inode) (struct inode *);
+ int (*notify_change) (struct inode *, struct iattr *);
void (*put_super) (struct super_block *);
void (*write_super) (struct super_block *);
- void (*statfs) (struct super_block *, struct statfs *, int);
+ int (*statfs) (struct super_block *, struct statfs *, int);
int (*remount_fs) (struct super_block *, int *, char *);
};