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:
d4a85e3
)
autofs4 - fix d_manage() return on rcu-walk
author
Ian Kent
<raven@themaw.net>
Thu, 24 Mar 2011 17:51:25 +0000
(
01:51
+0800)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 24 Mar 2011 18:54:34 +0000
(14:54 -0400)
The daemon never needs to block and, in the rcu-walk case an error
return isn't used, so always return zero.
Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/autofs4/root.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/autofs4/root.c
b/fs/autofs4/root.c
index 3a93d3552486bbdef05da7fecc3f337944f86af2..ebbfa0ce6d7bdf948c7f617c6ef3dfe216d26b71 100644
(file)
--- a/
fs/autofs4/root.c
+++ b/
fs/autofs4/root.c
@@
-444,6
+444,8
@@
int autofs4_d_manage(struct dentry *dentry, bool rcu_walk)
/* The daemon never waits. */
if (autofs4_oz_mode(sbi)) {
+ if (rcu_walk)
+ return 0;
if (!d_mountpoint(dentry))
return -EISDIR;
return 0;