From 16fb4ea349c270306e745c4288bd139fba6dbd18 Mon Sep 17 00:00:00 2001 From: Jan Harkes Date: Sun, 19 May 2002 19:25:12 -0700 Subject: [PATCH] iget_locked [4/6] Now that we have no more users of iget4 we can kill the function and the associated read_inode2 callback (i.e. the 'reiserfs specific hack'). Document iget5_locked as the replacement for iget4 in filesystems/porting. --- include/linux/fs.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'include/linux') diff --git a/include/linux/fs.h b/include/linux/fs.h index 2f82322fb04b..4ec6c2fe76c6 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -769,13 +769,6 @@ struct super_operations { void (*read_inode) (struct inode *); - /* reiserfs kludge. reiserfs needs 64 bits of information to - ** find an inode. We are using the read_inode2 call to get - ** that information. We don't like this, and are waiting on some - ** VFS changes for the real solution. - ** iget4 calls read_inode2, iff it is defined - */ - void (*read_inode2) (struct inode *, void *) ; void (*dirty_inode) (struct inode *); void (*write_inode) (struct inode *, int); void (*put_inode) (struct inode *); @@ -1212,7 +1205,6 @@ extern struct inode * iget5_locked(struct super_block *, unsigned long, int (*te extern struct inode * iget_locked(struct super_block *, unsigned long); extern void unlock_new_inode(struct inode *); -extern struct inode * iget4(struct super_block *, unsigned long, int (*test)(struct inode *, void *), int (*set)(struct inode *, void *), void *); static inline struct inode *iget(struct super_block *sb, unsigned long ino) { struct inode *inode = iget_locked(sb, ino); -- cgit v1.2.3