From mboxrd@z Thu Jan 1 00:00:00 1970 From: michaelc@cs.wisc.edu Date: Fri, 14 Jun 2013 04:56:09 -0500 Subject: [Cluster-devel] [PATCH 1/6] dlm: clear correct init bit during sctp setup In-Reply-To: <1371203774-13141-1-git-send-email-michaelc@cs.wisc.edu> References: <1371203774-13141-1-git-send-email-michaelc@cs.wisc.edu> Message-ID: <1371203774-13141-2-git-send-email-michaelc@cs.wisc.edu> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: Mike Christie 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 --- fs/dlm/lowcomms.c | 2 +- 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); } -- 1.7.1