]> git.baikalelectronics.ru Git - kernel.git/commit
autofs: add AUTOFS_EXP_FORCED flag
authorIan Kent <raven@themaw.net>
Wed, 22 Aug 2018 04:59:01 +0000 (21:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 22 Aug 2018 17:52:49 +0000 (10:52 -0700)
commit598420bebc26401b29b085ff396ac465b51d7192
treec49426928aac298e240d2dcbca54b8231d9cfc77
parent23e11385230ca9482e1576d3c78974c5e4d34634
autofs: add AUTOFS_EXP_FORCED flag

The userspace automount(8) daemon is meant to perform a forced expire when
sent a SIGUSR2.

But since the expiration is routed through the kernel and the kernel
doesn't send an expire request if the mount is busy this hasn't worked at
least since autofs version 5.

Add an AUTOFS_EXP_FORCED flag to allow implemention of the feature and
bump the protocol version so user space can check if it's implemented if
needed.

Link: http://lkml.kernel.org/r/152937734715.21213.6594007182776598970.stgit@pluto.themaw.net
Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/autofs/expire.c
include/uapi/linux/auto_fs.h