Skip to content

Commit

Permalink
dlm: clear correct init bit during sctp setup
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: David Teigland <[email protected]>
  • Loading branch information
Mike Christie authored and teigland committed Jun 14, 2013
1 parent a2648eb commit efad7e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/dlm/lowcomms.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit efad7e6

Please sign in to comment.