summaryrefslogtreecommitdiff
path: root/fs/dlm/lowcomms.c
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2013-06-14 13:56:09 +0400
committerDavid Teigland <teigland@redhat.com>2013-06-14 22:07:10 +0400
commitefad7e6b1a28be599836c8f15ec04f99a98fb04c (patch)
treec83d1f1ecbae067aac25fb57a243c360a1c827c2 /fs/dlm/lowcomms.c
parenta2648ebb7ed69ef209d9c8a76fadeb3252d9a023 (diff)
downloadlinux-efad7e6b1a28be599836c8f15ec04f99a98fb04c.tar.xz
dlm: clear correct init bit during sctp setup
We were clearing the base con's init pending flags, but the con for the node was the one with the pending bit set. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/lowcomms.c')
-rw-r--r--fs/dlm/lowcomms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c
index d0ccd2fd79eb..efbe7af42002 100644
--- a/fs/dlm/lowcomms.c
+++ b/fs/dlm/lowcomms.c
@@ -664,7 +664,7 @@ static void process_sctp_notification(struct connection *con,
/* Send any pending writes */
clear_bit(CF_CONNECT_PENDING, &new_con->flags);
- clear_bit(CF_INIT_PENDING, &con->flags);
+ clear_bit(CF_INIT_PENDING, &new_con->flags);
if (!test_and_set_bit(CF_WRITE_PENDING, &new_con->flags)) {
queue_work(send_workqueue, &new_con->swork);
}