diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2013-06-14 11:56:09 +0200 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2013-06-14 20:07:10 +0200 |
commit | efad7e6b1a28be599836c8f15ec04f99a98fb04c (patch) | |
tree | c83d1f1ecbae067aac25fb57a243c360a1c827c2 /fs/dlm/lowcomms.c | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mas... (diff) | |
download | linux-efad7e6b1a28be599836c8f15ec04f99a98fb04c.tar.xz linux-efad7e6b1a28be599836c8f15ec04f99a98fb04c.zip |
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.c | 2 |
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); } |