diff options
Diffstat (limited to 'libglusterfs/src/syncop.c')
-rw-r--r-- | libglusterfs/src/syncop.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libglusterfs/src/syncop.c b/libglusterfs/src/syncop.c index 1b968d5164a..9df462321aa 100644 --- a/libglusterfs/src/syncop.c +++ b/libglusterfs/src/syncop.c @@ -467,6 +467,8 @@ synctask_create (struct syncenv *env, synctask_fn_t fn, synctask_cbk_t cbk, newtask->frame = frame; if (!frame) { newtask->opframe = create_frame (this, this->ctx->pool); + set_lk_owner_from_ptr (&newtask->opframe->root->lk_owner, + newtask->opframe->root); } else { newtask->opframe = copy_frame (frame); } |