From: adilger Date: Tue, 20 Aug 2002 05:39:49 +0000 (+0000) Subject: Remove bogus assertion. The dentry isn't instantiated until later, and X-Git-Tag: 0.5.5~118 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=a4a3bff7276ce7a11da7544034ac0b5b072cffeb;p=fs%2Flustre-release.git Remove bogus assertion. The dentry isn't instantiated until later, and we are guaranteed to have a valid inode if we return from ll_lookup2() without an error code. --- diff --git a/lustre/llite/namei.c b/lustre/llite/namei.c index 09a4f5a..334c49d 100644 --- a/lustre/llite/namei.c +++ b/lustre/llite/namei.c @@ -183,7 +183,6 @@ static struct dentry *ll_lookup2(struct inode * dir, struct dentry *dentry, it->it_data = NULL; GOTO(neg_req, NULL); } - LASSERT(dentry->d_inode); it->it_data = dentry; } else if (it->it_op == IT_OPEN) { it->it_data = NULL;