summaryrefslogtreecommitdiffstats
path: root/xlators/features
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features')
-rw-r--r--xlators/features/locks/src/common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/features/locks/src/common.c b/xlators/features/locks/src/common.c
index 0df5fcae5..5d44f0e45 100644
--- a/xlators/features/locks/src/common.c
+++ b/xlators/features/locks/src/common.c
@@ -513,6 +513,7 @@ posix_lock_to_flock (posix_lock_t *lock, struct gf_flock *flock)
flock->l_pid = lock->client_pid;
flock->l_type = lock->fl_type;
flock->l_start = lock->fl_start;
+ flock->l_owner = lock->owner;
if (lock->fl_end == LLONG_MAX)
flock->l_len = 0;