summaryrefslogtreecommitdiffstats
path: root/fs/autofs4/autofs_i.h
diff options
context:
space:
mode:
authorIan Kent <raven@themaw.net>2005-07-27 20:43:45 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-28 01:25:51 +0200
commit104e49fc1e1656142869fab0e75d7df52b72eed9 (patch)
tree4ba88793943da0fda56bbc98b404ea862ba89af6 /fs/autofs4/autofs_i.h
parent[PATCH] Add pcibios_bus_to_resource for parisc (diff)
downloadlinux-104e49fc1e1656142869fab0e75d7df52b72eed9.tar.xz
linux-104e49fc1e1656142869fab0e75d7df52b72eed9.zip
[PATCH] autofs4: fix infamous "Busy inodes after umount ..." message
If the automount daemon receives a signal which causes it to sumarily terminate the autofs4 module leaks dentries. The same problem exists with detached mount requests without the warning. This patch cleans these dentries at umount. Signed-off-by: Ian Kent <raven@themaw.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/autofs4/autofs_i.h')
-rw-r--r--fs/autofs4/autofs_i.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/autofs4/autofs_i.h b/fs/autofs4/autofs_i.h
index 9c09641ce907..fca83e28edcf 100644
--- a/fs/autofs4/autofs_i.h
+++ b/fs/autofs4/autofs_i.h
@@ -92,6 +92,7 @@ struct autofs_wait_queue {
struct autofs_sb_info {
u32 magic;
+ struct dentry *root;
struct file *pipe;
pid_t oz_pgrp;
int catatonic;