projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/fs/gfs2/dentry.c
b/fs/gfs2/dentry.c
index 4a456338b8733bdc26864d183c12239f290dd404..0da8da2c991d30a906f954ce021f5373092298f9 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);