From a4a3bff7276ce7a11da7544034ac0b5b072cffeb Mon Sep 17 00:00:00 2001 From: adilger Date: Tue, 20 Aug 2002 05:39:49 +0000 Subject: [PATCH] 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. --- lustre/llite/namei.c | 1 - 1 file changed, 1 deletion(-) 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; -- 1.8.3.1