Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97cf9e5
)
Remove bogus assertion. The dentry isn't instantiated until later, and
author
adilger
<adilger>
Tue, 20 Aug 2002 05:39:49 +0000
(
05:39
+0000)
committer
adilger
<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
patch
|
blob
|
history
diff --git
a/lustre/llite/namei.c
b/lustre/llite/namei.c
index
09a4f5a
..
334c49d
100644
(file)
--- 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;