summaryrefslogtreecommitdiffstats
path: root/fs/autofs/autofs_i.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2019-07-27 10:00:33 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2019-07-27 10:00:33 -0400
commitc4931db9b08c18005fb21ab201e7137ba0547df5 (patch)
tree6c6e20e3253187809b0f9ff5cf558522ad62d132 /fs/autofs/autofs_i.h
parentff09297ec9964b3fe4bade77c92c75fde34fa8e9 (diff)
downloadlinux-c4931db9b08c18005fb21ab201e7137ba0547df5.tar.gz
linux-c4931db9b08c18005fb21ab201e7137ba0547df5.tar.bz2
linux-c4931db9b08c18005fb21ab201e7137ba0547df5.zip
get rid of autofs_info->active_count
autofs_add_active() is always called only once (and on a dentry with freshly allocated ino, at that). autofs_del_active() is never called more than once. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/autofs/autofs_i.h')
-rw-r--r--fs/autofs/autofs_i.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/autofs/autofs_i.h b/fs/autofs/autofs_i.h
index 8c0c11181fad..8bcec8dcabb6 100644
--- a/fs/autofs/autofs_i.h
+++ b/fs/autofs/autofs_i.h
@@ -58,7 +58,6 @@ struct autofs_info {
struct completion expire_complete;
struct list_head active;
- int active_count;
struct list_head expiring;