Blame SOURCES/autofs-5.1.5-make-expire-remaining-log-level-debug.patch

304803
autofs-5.1.5 - make expire remaining log level debug
304803
304803
From: Ian Kent <raven@themaw.net>
304803
304803
The log message listing the remaining mounts should be log level
304803
debug not info.
304803
304803
Signed-off-by: Ian Kent <raven@themaw.net>
304803
---
304803
 CHANGELOG         |    1 +
304803
 daemon/direct.c   |    2 +-
304803
 daemon/indirect.c |    4 ++--
304803
 3 files changed, 4 insertions(+), 3 deletions(-)
304803
304803
--- autofs-5.0.7.orig/CHANGELOG
304803
+++ autofs-5.0.7/CHANGELOG
304803
@@ -323,6 +323,7 @@
304803
 - optionally log mount requestor process info.
304803
 - log mount call arguments if mount_verbose is set.
304803
 - document ghost option in auto.master man page.
304803
+- make expire remaining log level debug.
304803
 
304803
 25/07/2012 autofs-5.0.7
304803
 =======================
304803
--- autofs-5.0.7.orig/daemon/direct.c
304803
+++ autofs-5.0.7/daemon/direct.c
304803
@@ -986,7 +986,7 @@ void *expire_proc_direct(void *arg)
304803
 	pthread_cleanup_pop(1);
304803
 
304803
 	if (left)
304803
-		info(ap->logopt, "%d remaining in %s", left, ap->path);
304803
+		debug(ap->logopt, "%d remaining in %s", left, ap->path);
304803
 
304803
 	ec.status = left;
304803
 
304803
--- autofs-5.0.7.orig/daemon/indirect.c
304803
+++ autofs-5.0.7/daemon/indirect.c
304803
@@ -574,7 +574,7 @@ void *expire_proc_indirect(void *arg)
304803
 	pthread_cleanup_pop(1);
304803
 
304803
 	if (submnts)
304803
-		info(ap->logopt,
304803
+		debug(ap->logopt,
304803
 		     "%d submounts remaining in %s", submnts, ap->path);
304803
 
304803
 	/* 
304803
@@ -582,7 +582,7 @@ void *expire_proc_indirect(void *arg)
304803
 	 * words) the umounts are done by the time we reach here
304803
 	 */
304803
 	if (count)
304803
-		info(ap->logopt, "%d remaining in %s", count, ap->path);
304803
+		debug(ap->logopt, "%d remaining in %s", count, ap->path);
304803
 
304803
 	ec.status = left;
304803