ocfs2/dlm: another miss of setting DLM_LOCK_RES_IN_PROGRESS
PATCH 1/1 ocfs2/dlm: another miss of setting DLM_LOCK_RES_IN_PROGRESS
Another miss of setting DLM_LOCK_RES_IN_PROGRESS.
Signed-off-by Wengang Wang <[email protected]>
--- fs/ocfs2/dlm/dlmlock.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
fs/ocfs2/dlm/dlmlock.c +2 -0
@@ -139,6 +139,8 @@ static enum dlm_status dlmlock_master(struct dlm_ctxt *dlm,return status; }__dlm_wait_on_lockres (res); + res->state |=DLM_LOCK_RES_IN_PROGRESS ; +__dlm_lockres_reserve_ast (res);if (dlm_can_grant_new_lock (res, lock)) {
Signature · 1 line
1.7.2.3