[CONNECTOR]: Bugfix for cn_call_callback()
authorPhilipp Reisner <philipp.reisner@linbit.com>
Wed, 7 Mar 2007 20:55:39 +0000 (12:55 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 8 Mar 2007 00:08:08 +0000 (16:08 -0800)
commit05e52dd7396514648fba6c275eb7b49eca333c6d
tree144ecb4d6986128773e6d5aad4e9aae52ce554d1
parent151a99317ee9efcfd3e642da62e1edf4f47fcb3e
[CONNECTOR]: Bugfix for cn_call_callback()

When system under heavy stress and must allocate new work
instead of reusing old one, new work must use correct
completion callback.

Patch is based on Philipp's and Lars' work.
I only cleaned small stuff (and removed spaces instead of tabs).

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/connector/connector.c