Skip to content
Snippets Groups Projects
Commit 8dabd214 authored by Vitaly Fertman's avatar Vitaly Fertman
Browse files

Branch b1_6

b=13060
i=huanghua
i=tappro

put the lock after unlocking the resource
parent e2ce2e64
No related branches found
No related tags found
No related merge requests found
......@@ -1507,8 +1507,8 @@ static int ldlm_callback_handler(struct ptlrpc_request *req)
LDLM_DEBUG(lock, "callback on lock "
LPX64" - lock disappeared\n",
dlm_req->lock_handle[0].cookie);
LDLM_LOCK_PUT(lock);
unlock_res_and_lock(lock);
LDLM_LOCK_PUT(lock);
ldlm_callback_reply(req, -EINVAL);
RETURN(0);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment