diff options
author | Alexander Aring <aahringo@redhat.com> | 2020-11-03 04:04:19 +0300 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2020-11-10 21:14:20 +0300 |
commit | 53a5edaa05c1073e47668f167ec9788383c780e1 (patch) | |
tree | 4504d4b425713f2cfcd489d5a1d1b31cab522266 /fs/dlm | |
parent | 692f51c8cbe752cb16ea2a75016ea0a497d00b1c (diff) | |
download | linux-53a5edaa05c1073e47668f167ec9788383c780e1.tar.xz |
fs: dlm: flush othercon at close
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>
Diffstat (limited to 'fs/dlm')
-rw-r--r-- | fs/dlm/lowcomms.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c index 620eca3979d5..c0c688aac223 100644 --- 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); |