summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2013-06-14 09:56:09 (GMT)
committerDavid Teigland <teigland@redhat.com>2013-06-14 18:07:10 (GMT)
commitefad7e6b1a28be599836c8f15ec04f99a98fb04c (patch)
treec83d1f1ecbae067aac25fb57a243c360a1c827c2 /fs
parenta2648ebb7ed69ef209d9c8a76fadeb3252d9a023 (diff)
downloadlinux-fsl-qoriq-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')
-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 d0ccd2f..efbe7af 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);
}