diff options
author | Jan Harkes <jaharkes@cs.cmu.edu> | 2007-07-19 04:48:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-19 13:04:48 -0400 |
commit | ed31a7dd636b296746c131b7386023aa1ef84309 (patch) | |
tree | 3e20ed0106b6567dad1036874f0cb0918b407c7b /fs | |
parent | fac1f0e34026a656174102ebad4d1cd71cd4fe2c (diff) |
coda: use ilookup5
Signed-off-by: Jan Harkes <jaharkes@cs.cmu.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/coda/cnode.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/coda/cnode.c b/fs/coda/cnode.c index 28c872747f81..a7a780929eec 100644 --- a/fs/coda/cnode.c +++ b/fs/coda/cnode.c | |||
@@ -55,11 +55,6 @@ static int coda_set_inode(struct inode *inode, void *data) | |||
55 | return 0; | 55 | return 0; |
56 | } | 56 | } |
57 | 57 | ||
58 | static int coda_fail_inode(struct inode *inode, void *data) | ||
59 | { | ||
60 | return -1; | ||
61 | } | ||
62 | |||
63 | struct inode * coda_iget(struct super_block * sb, struct CodaFid * fid, | 58 | struct inode * coda_iget(struct super_block * sb, struct CodaFid * fid, |
64 | struct coda_vattr * attr) | 59 | struct coda_vattr * attr) |
65 | { | 60 | { |
@@ -141,7 +136,7 @@ struct inode *coda_fid_to_inode(struct CodaFid *fid, struct super_block *sb) | |||
141 | return NULL; | 136 | return NULL; |
142 | } | 137 | } |
143 | 138 | ||
144 | inode = iget5_locked(sb, hash, coda_test_inode, coda_fail_inode, fid); | 139 | inode = ilookup5(sb, hash, coda_test_inode, fid); |
145 | if ( !inode ) | 140 | if ( !inode ) |
146 | return NULL; | 141 | return NULL; |
147 | 142 | ||