mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 00:20:32 +00:00
[DLM] Fix dlm_lowcoms_stop hang
When you attempt to release a lockspace in DLM, it will hang trying to down a semaphore that has already been downed. The attached patch fixes the problem. Signed-off-by: Josef Bacik <jwhiter@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com> Cc: Patrick Caulfield <pcaulfie@redhat.com>
This commit is contained in:
parent
7d3c1feb80
commit
2439fe5072
1 changed files with 1 additions and 1 deletions
|
@ -1407,7 +1407,7 @@ void dlm_lowcomms_stop(void)
|
|||
clean_writequeues();
|
||||
|
||||
for (i = 0; i < max_nodeid; i++) {
|
||||
con = nodeid2con(i, 0);
|
||||
con = __nodeid2con(i, 0);
|
||||
if (con) {
|
||||
close_connection(con, true);
|
||||
if (con->othercon)
|
||||
|
|
Loading…
Reference in a new issue