diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2013-06-14 04:56:09 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2013-06-14 13:07:10 -0500 |
commit | efad7e6b1a28be599836c8f15ec04f99a98fb04c (patch) | |
tree | c83d1f1ecbae067aac25fb57a243c360a1c827c2 /fs/dlm | |
parent | a2648ebb7ed69ef209d9c8a76fadeb3252d9a023 (diff) | |
download | op-kernel-dev-efad7e6b1a28be599836c8f15ec04f99a98fb04c.zip op-kernel-dev-efad7e6b1a28be599836c8f15ec04f99a98fb04c.tar.gz |
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')
-rw-r--r-- | 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); } |