projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
529c5f9
)
gfs2: fix d_revalidate oopsen on NFS exports
author
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 10 Mar 2011 08:44:48 +0000
(
03:44
-0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 10 Mar 2011 08:44:48 +0000
(
03:44
-0500)
can't blindly check nd->flags in ->d_revalidate()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/gfs2/dentry.c
patch
|
blob
|
history
diff --git
a/fs/gfs2/dentry.c
b/fs/gfs2/dentry.c
index
4a45633
..
0da8da2
100644
(file)
--- a/
fs/gfs2/dentry.c
+++ b/
fs/gfs2/dentry.c
@@
-44,7
+44,7
@@
static int gfs2_drevalidate(struct dentry *dentry, struct nameidata *nd)
int error;
int had_lock = 0;
- if (nd->flags & LOOKUP_RCU)
+ if (nd
&& nd
->flags & LOOKUP_RCU)
return -ECHILD;
parent = dget_parent(dentry);