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

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