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

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