diff options
author | Sachidananda <sac@gluster.com> | 2010-03-09 03:23:51 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-03-12 04:09:46 -0800 |
commit | 66c79eb43518e6538780b735b9739e6171b757b7 (patch) | |
tree | d62522766f6c0f8c0904020f9c69639c8938f69d | |
parent | 789efde55345fe2bb252b5791d8df90fcb6c7e6b (diff) |
When option mandatory is given, print warning messages instead of Error.
Change log level to warning.
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"); |