Whamcloud - gitweb
Remove bogus assertion. The dentry isn't instantiated until later, and
authoradilger <adilger>
Tue, 20 Aug 2002 05:39:49 +0000 (05:39 +0000)
committeradilger <adilger>
Tue, 20 Aug 2002 05:39:49 +0000 (05:39 +0000)
we are guaranteed to have a valid inode if we return from ll_lookup2()
without an error code.

lustre/llite/namei.c

index 09a4f5a..334c49d 100644 (file)
@@ -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;