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

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