projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4714e63
)
jfs: fix d_revalidate oopsen on NFS exports
author
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 10 Mar 2011 08:45:28 +0000
(
03:45
-0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 10 Mar 2011 08:45:28 +0000
(
03:45
-0500)
can't blindly check nd->flags in ->d_revalidate()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/jfs/namei.c
patch
|
blob
|
history
diff --git
a/fs/jfs/namei.c
b/fs/jfs/namei.c
index 81ead850ddb65c722fbd5d1fa8a3f7844428e033..5a2b269428a6d4f19e89659805d0b49d7b0d5297 100644
(file)
--- a/
fs/jfs/namei.c
+++ b/
fs/jfs/namei.c
@@
-1600,7
+1600,7
@@
out:
static int jfs_ci_revalidate(struct dentry *dentry, struct nameidata *nd)
{
- if (nd->flags & LOOKUP_RCU)
+ if (nd
&& nd
->flags & LOOKUP_RCU)
return -ECHILD;
/*
* This is not negative dentry. Always valid.