diff options
| -rw-r--r-- | xlators/features/locks/src/posix.c | 12 | 
1 files changed, 3 insertions, 9 deletions
diff --git a/xlators/features/locks/src/posix.c b/xlators/features/locks/src/posix.c index 5c25d680ea5..4a1a2a76376 100644 --- a/xlators/features/locks/src/posix.c +++ b/xlators/features/locks/src/posix.c @@ -1345,15 +1345,9 @@ init (xlator_t *this)          priv = CALLOC (1, sizeof (*priv));          mandatory = dict_get (this->options, "mandatory-locks"); -        if (mandatory) { -                if (gf_string2boolean (mandatory->data, -                                       &priv->mandatory) == -1) { -                        gf_log (this->name, GF_LOG_ERROR, -                                "'mandatory-locks' takes on only boolean " -                                "values."); -                        return -1; -                } -        } +        if (mandatory) +                gf_log (this->name, GF_LOG_ERROR, +                        "mandatory locks not supported in this minor release.");  	trace = dict_get (this->options, "trace");  	if (trace) {  | 
