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:
75d487b
)
LBUG() if we get a NULL intent in ll_lookup2
author
pschwan
<pschwan>
Sat, 22 Jun 2002 22:28:10 +0000
(22:28 +0000)
committer
pschwan
<pschwan>
Sat, 22 Jun 2002 22:28:10 +0000
(22:28 +0000)
lustre/llite/namei.c
patch
|
blob
|
history
diff --git
a/lustre/llite/namei.c
b/lustre/llite/namei.c
index
bc18121
..
34bcdcd
100644
(file)
--- a/
lustre/llite/namei.c
+++ b/
lustre/llite/namei.c
@@
-141,6
+141,11
@@
static struct dentry *ll_lookup2(struct inode * dir, struct dentry *dentry,
ENTRY;
+ if (it == NULL) {
+ LBUG();
+ RETURN(NULL);
+ }
+
CDEBUG(D_INFO, "name: %*s, intent op: %d\n", dentry->d_name.len,
dentry->d_name.name, it->it_op);