summaryrefslogtreecommitdiffstats
path: root/xlators/features/locks/src/posix.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/locks/src/posix.c')
-rw-r--r--xlators/features/locks/src/posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/locks/src/posix.c b/xlators/features/locks/src/posix.c
index 440b272b21e..1e1d9e5ae30 100644
--- a/xlators/features/locks/src/posix.c
+++ b/xlators/features/locks/src/posix.c
@@ -2239,7 +2239,7 @@ pl_lk (call_frame_t *frame, xlator_t *this,
priv = this->private;
- ret = dict_get_uint32 (xdata, "lkmode", &lk_flags);
+ ret = dict_get_uint32 (xdata, GF_LOCK_MODE, &lk_flags);
if (ret == 0) {
if (priv->mandatory_mode == MLK_NONE)
gf_log (this->name, GF_LOG_DEBUG, "Lock flags received "