]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
coda: use ilookup5
authorJan Harkes <jaharkes@cs.cmu.edu>
Thu, 19 Jul 2007 08:48:44 +0000 (01:48 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 19 Jul 2007 17:04:48 +0000 (10:04 -0700)
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>
fs/coda/cnode.c

index 28c872747f8170f45aa490987cfae07a80f7eee5..a7a780929eecb90c624d8fbd155bd32cea228f47 100644 (file)
@@ -55,11 +55,6 @@ static int coda_set_inode(struct inode *inode, void *data)
        return 0;
 }
 
-static int coda_fail_inode(struct inode *inode, void *data)
-{
-       return -1;
-}
-
 struct inode * coda_iget(struct super_block * sb, struct CodaFid * fid,
                         struct coda_vattr * attr)
 {
@@ -141,7 +136,7 @@ struct inode *coda_fid_to_inode(struct CodaFid *fid, struct super_block *sb)
                return NULL;
        }
 
-       inode = iget5_locked(sb, hash, coda_test_inode, coda_fail_inode, fid);
+       inode = ilookup5(sb, hash, coda_test_inode, fid);
        if ( !inode )
                return NULL;