]> git.baikalelectronics.ru Git - kernel.git/commit
get rid of autofs_info->active_count
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 27 Jul 2019 14:00:33 +0000 (10:00 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 27 Jul 2019 14:00:33 +0000 (10:00 -0400)
commitb1029ad1b60b4319dc0cb6e02e07e0d894a9ad6a
tree6c6e20e3253187809b0f9ff5cf558522ad62d132
parentc1b9728978bc2b474e401439d3a9b7cdc3e37d5f
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>
fs/autofs/autofs_i.h
fs/autofs/root.c