Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-3483 llite: Null deref in ll_revalidate_nd on NFSmount
[fs/lustre-release.git]
/
lustre
/
llite
/
dcache.c
diff --git
a/lustre/llite/dcache.c
b/lustre/llite/dcache.c
index
0152192
..
9f57ed8
100644
(file)
--- a/
lustre/llite/dcache.c
+++ b/
lustre/llite/dcache.c
@@
-693,7
+693,7
@@
int ll_revalidate_nd(struct dentry *dentry, struct nameidata *nd)
#ifndef HAVE_DCACHE_LOCK
/* kernel >= 2.6.38 supports rcu-walk, but lustre doesn't. */
- if (nd
->flags & LOOKUP_RCU
)
+ if (nd
&& (nd->flags & LOOKUP_RCU)
)
return -ECHILD;
#endif