From 56f1010dd2d9e6007292559b9e6f9b5bb5eb6a64 Mon Sep 17 00:00:00 2001 From: Jan Harkes Date: Thu, 19 Jul 2007 01:48:44 -0700 Subject: [PATCH] --- yaml --- r: 61621 b: refs/heads/master c: ed31a7dd636b296746c131b7386023aa1ef84309 h: refs/heads/master i: 61619: 1139d10728ab6c02d34663d933c83f39d29a9cfd v: v3 --- [refs] | 2 +- trunk/fs/coda/cnode.c | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/[refs] b/[refs] index 4bc350f3031b..4279c10f0a0e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: fac1f0e34026a656174102ebad4d1cd71cd4fe2c +refs/heads/master: ed31a7dd636b296746c131b7386023aa1ef84309 diff --git a/trunk/fs/coda/cnode.c b/trunk/fs/coda/cnode.c index 28c872747f81..a7a780929eec 100644 --- a/trunk/fs/coda/cnode.c +++ b/trunk/fs/coda/cnode.c @@ -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;