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:
3cebde2
)
autofs4: bogus dentry_unhash() added in ->unlink()
author
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 30 May 2011 05:50:53 +0000
(
01:50
-0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 30 May 2011 05:50:53 +0000
(
01:50
-0400)
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 87d95a8cddbc4223c77e9aa642292b784912b807..f55ae23b137e2a21001948e1c4b6b17795abc1b0 100644
(file)
--- a/
fs/autofs4/root.c
+++ b/
fs/autofs4/root.c
@@
-583,8
+583,6
@@
static int autofs4_dir_unlink(struct inode *dir, struct dentry *dentry)
if (!autofs4_oz_mode(sbi) && !capable(CAP_SYS_ADMIN))
return -EACCES;
- dentry_unhash(dentry);
-
if (atomic_dec_and_test(&ino->count)) {
p_ino = autofs4_dentry_ino(dentry->d_parent);
if (p_ino && dentry->d_parent != dentry)