summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJan Harkes <jaharkes@cs.cmu.edu>2002-05-19 19:25:12 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-05-19 19:25:12 -0700
commit16fb4ea349c270306e745c4288bd139fba6dbd18 (patch)
treeaf7889b3e8e3a627cbcad136da807bee3b88369f /include
parent77d1ac9bf5beff0aab610c0cffb1fd59cea7664b (diff)
[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.
Diffstat (limited to 'include')
-rw-r--r--include/linux/fs.h8
1 files changed, 0 insertions, 8 deletions
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);