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

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