projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
692f51c
)
fs: dlm: flush othercon at close
author
Alexander Aring
<aahringo@redhat.com>
Tue, 3 Nov 2020 01:04:19 +0000
(20:04 -0500)
committer
David Teigland
<teigland@redhat.com>
Tue, 10 Nov 2020 18:14:20 +0000
(12:14 -0600)
This patch ensures we also flush the othercon writequeue when a lowcomms
close occurs.
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lowcomms.c
patch
|
blob
|
history
diff --git
a/fs/dlm/lowcomms.c
b/fs/dlm/lowcomms.c
index 620eca3979d54508704a72f5ca9028bfbbcd03eb..c0c688aac223f0a89c301303760ce74da9ef5653 100644
(file)
--- a/
fs/dlm/lowcomms.c
+++ b/
fs/dlm/lowcomms.c
@@
-1512,6
+1512,8
@@
int dlm_lowcomms_close(int nodeid)
set_bit(CF_CLOSE, &con->flags);
close_connection(con, true, true, true);
clean_one_writequeue(con);
+ if (con->othercon)
+ clean_one_writequeue(con->othercon);
}
spin_lock(&dlm_node_addrs_spin);