summaryrefslogtreecommitdiff
path: root/fs/autofs4/autofs_i.h
diff options
context:
space:
mode:
authorIan Kent <raven@themaw.net>2005-07-27 11:43:45 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-27 16:25:51 -0700
commit104e49fc1e1656142869fab0e75d7df52b72eed9 (patch)
tree4ba88793943da0fda56bbc98b404ea862ba89af6 /fs/autofs4/autofs_i.h
parent0f94c8e1256fcb786e1918e30bdaeccf669bf63c (diff)
downloadlinux-3.10-104e49fc1e1656142869fab0e75d7df52b72eed9.tar.gz
linux-3.10-104e49fc1e1656142869fab0e75d7df52b72eed9.tar.bz2
linux-3.10-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 9c09641ce90..fca83e28edc 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;