diff options
Diffstat (limited to 'fs/coda/cnode.c')
-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 | ||