]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitcbf6898fd69455092c43cd573b38d42c86ddb1e0
treec49426928aac298e240d2dcbca54b8231d9cfc77
parente5c85e1fe19c03777cbacf4b5a5167b2f5ff90fb
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