diff options
author | Sachidananda <sac@gluster.com> | 2010-03-09 03:18:56 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-03-12 04:09:42 -0800 |
commit | e0385ed5e905fb14044bb117c596cc1825193c32 (patch) | |
tree | 78c1a345b605b785a355097304dd98cef3830717 | |
parent | 2fb2bef51a53b4c776f54633000eb41ac88fe82b (diff) |
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 <sac@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 704 (GlusterFS starts despite error is logged in GlusterFS)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=704
-rw-r--r-- | xlators/features/locks/src/posix.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |