mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 19:56:18 +00:00
ocfs2: properly initialize the mle structure
Signed-off-by: Kurt Hackel <kurt.hackel@oracle.com> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
This commit is contained in:
parent
da01ad0552
commit
41b8c8a101
1 changed files with 1 additions and 4 deletions
|
@ -1512,15 +1512,12 @@ way_up_top:
|
|||
mlog_errno(-ENOMEM);
|
||||
goto send_response;
|
||||
}
|
||||
spin_lock(&dlm->spinlock);
|
||||
dlm_init_mle(mle, DLM_MLE_BLOCK, dlm, NULL,
|
||||
name, namelen);
|
||||
spin_unlock(&dlm->spinlock);
|
||||
goto way_up_top;
|
||||
}
|
||||
|
||||
// mlog(0, "this is second time thru, already allocated, "
|
||||
// "add the block.\n");
|
||||
dlm_init_mle(mle, DLM_MLE_BLOCK, dlm, NULL, name, namelen);
|
||||
set_bit(request->node_idx, mle->maybe_map);
|
||||
list_add(&mle->list, &dlm->master_list);
|
||||
response = DLM_MASTER_RESP_NO;
|
||||
|
|
Loading…
Reference in a new issue