Blame SOURCES/autofs-5.1.3-make-map-source-reference-message-debug-only.patch

cef8f8
autofs-5.1.3 - make map source reference message debug only
cef8f8
cef8f8
From: Ian Kent <raven@themaw.net>
cef8f8
cef8f8
The message "map source used without taking reference" was added during
cef8f8
development of an additional amd format map feature.
cef8f8
cef8f8
It appears far too often but hasn't been seen to be a real problem so
cef8f8
make it a debug only message and postpone deeper investigation until
cef8f8
later.
cef8f8
cef8f8
Signed-off-by: Ian Kent <raven@themaw.net>
cef8f8
---
cef8f8
 CHANGELOG    |    1 +
cef8f8
 lib/master.c |    2 +-
cef8f8
 2 files changed, 2 insertions(+), 1 deletion(-)
cef8f8
cef8f8
--- autofs-5.0.7.orig/CHANGELOG
cef8f8
+++ autofs-5.0.7/CHANGELOG
cef8f8
@@ -262,6 +262,7 @@
cef8f8
 - make open_lookup() error handling more consistent.
cef8f8
 - be silent about sss library not found.
cef8f8
 - be silent about nis domain not set.
cef8f8
+- make map source reference message debug only.
cef8f8
 
cef8f8
 25/07/2012 autofs-5.0.7
cef8f8
 =======================
cef8f8
--- autofs-5.0.7.orig/lib/master.c
cef8f8
+++ autofs-5.0.7/lib/master.c
cef8f8
@@ -233,7 +233,7 @@ master_add_map_source(struct master_mape
cef8f8
 
cef8f8
 		this = __master_find_map_source(entry, type, format, argc, tmpargv);
cef8f8
 		if (this) {
cef8f8
-			error(entry->ap->logopt,
cef8f8
+			debug(entry->ap->logopt,
cef8f8
 			      "map source used without taking reference");
cef8f8
 			this->age = age;
cef8f8
 			master_free_map_source(source, 0);