From 66c79eb43518e6538780b735b9739e6171b757b7 Mon Sep 17 00:00:00 2001 From: Sachidananda Date: Tue, 9 Mar 2010 03:23:51 +0000 Subject: When option mandatory is given, print warning messages instead of Error. Change log level to warning. Signed-off-by: Sachidananda Urs Signed-off-by: Anand V. Avati BUG: 704 (GlusterFS starts despite error is logged in GlusterFS) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=704 --- xlators/features/locks/src/posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xlators/features/locks/src/posix.c b/xlators/features/locks/src/posix.c index abd7248c636..06f4de17dff 100644 --- a/xlators/features/locks/src/posix.c +++ b/xlators/features/locks/src/posix.c @@ -1473,7 +1473,7 @@ init (xlator_t *this) mandatory = dict_get (this->options, "mandatory-locks"); if (mandatory) - gf_log (this->name, GF_LOG_ERROR, + gf_log (this->name, GF_LOG_WARNING, "mandatory locks not supported in this minor release."); trace = dict_get (this->options, "trace"); -- cgit