ctcm: suspend has to wait for outstanding I/O
authorFrank Blaschka <frank.blaschka@de.ibm.com>
Thu, 12 Nov 2009 21:46:28 +0000 (21:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Nov 2009 04:46:59 +0000 (20:46 -0800)
commit1e1815be87e45ce512f998ab35e9554c25031f4d
treecdea8e94953577889386289d10b750426aade29c
parentb7c2aecc0747f5c86a1959bce6a7ce8170a556b0
ctcm: suspend has to wait for outstanding I/O

State transition to DEV_STATE_STOPPED indicates all outstanding I/O has
finished. Add wait queue to wait for this state.

Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/ctcm_main.c
drivers/s390/net/fsm.c
drivers/s390/net/fsm.h