aboutsummaryrefslogtreecommitdiffstats
path: root/fs/autofs4/autofs_i.h
diff options
context:
space:
mode:
authorIan Kent <raven@themaw.net>2009-12-15 16:45:42 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-16 07:19:57 -0800
commit4f8427d1903148f9753eb35c5f51a8a865457329 (patch)
tree8d40dc21c988f53dd154b61eb1ed66914bedf7a3 /fs/autofs4/autofs_i.h
parent9ea9a886b0e8630e12cff515955e7f0f5be32cb1 (diff)
downloadkernel_samsung_espresso10-4f8427d1903148f9753eb35c5f51a8a865457329.zip
kernel_samsung_espresso10-4f8427d1903148f9753eb35c5f51a8a865457329.tar.gz
kernel_samsung_espresso10-4f8427d1903148f9753eb35c5f51a8a865457329.tar.bz2
autofs4: use helper functions for active list handling
Define some simple helper functions for adding and deleting entries on the active (and unhashed) dentry list. Signed-off-by: Ian Kent <raven@themaw.net> Cc: Sage Weil <sage@newdream.net> Cc: Al Viro <viro@ZenIV.linux.org.uk> Cc: Andreas Dilger <adilger@sun.com> Cc: Christoph Hellwig <hch@infradead.org> Cc: Yehuda Saheh <yehuda@newdream.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/autofs4/autofs_i.h')
-rw-r--r--fs/autofs4/autofs_i.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/autofs4/autofs_i.h b/fs/autofs4/autofs_i.h
index 8f7cdde..f3cf151 100644
--- a/fs/autofs4/autofs_i.h
+++ b/fs/autofs4/autofs_i.h
@@ -75,6 +75,8 @@ struct autofs_info {
struct completion expire_complete;
struct list_head active;
+ int active_count;
+
struct list_head expiring;
struct autofs_sb_info *sbi;