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