From e0385ed5e905fb14044bb117c596cc1825193c32 Mon Sep 17 00:00:00 2001 From: Sachidananda Date: Tue, 9 Mar 2010 03:18:56 +0000 Subject: When option mandatory is given, print warning messages instead of Error. Change the log level to Warning instead of Error. 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(-) (limited to 'xlators/features/locks') diff --git a/xlators/features/locks/src/posix.c b/xlators/features/locks/src/posix.c index abd7248c6..06f4de17d 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