From bea93e33eeddc64d5343d5f8c34ac1fb0ca812e1 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Thu, 8 Jun 2017 10:52:27 +0200 Subject: [PATCH] Apply /src/mariux/patches/autofs-5.0.8-reduce-syslog-noise.patch --- daemon/direct.c | 3 ++- daemon/indirect.c | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/daemon/direct.c b/daemon/direct.c index 9a13435..4c39c16 100644 --- a/daemon/direct.c +++ b/daemon/direct.c @@ -978,9 +978,10 @@ void *expire_proc_direct(void *arg) pthread_setcancelstate(cur_state, NULL); } pthread_cleanup_pop(1); - +/* if (left) info(ap->logopt, "%d remaining in %s", left, ap->path); +*/ ec.status = left; diff --git a/daemon/indirect.c b/daemon/indirect.c index ffb11b8..7939fec 100644 --- a/daemon/indirect.c +++ b/daemon/indirect.c @@ -575,8 +575,10 @@ void *expire_proc_indirect(void *arg) * EXPIRE_MULTI is synchronous, so we can be sure (famous last * words) the umounts are done by the time we reach here */ +/* if (count) info(ap->logopt, "%d remaining in %s", count, ap->path); +*/ ec.status = left;