[S390] qdio: prevent oopsing if qdio_establish fails
authorJan Glauber <jang@linux.vnet.ibm.com>
Thu, 21 Aug 2008 17:46:33 +0000 (19:46 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 21 Aug 2008 17:46:39 +0000 (19:46 +0200)
commit53b41ba7ce4563c33a0449fbcbbd70665477d654
tree78aa9a9bb1675aea597bc2b88a3d0ca1a18de129
parent8853e505a15f31fe608cb50e038ba2f794eed923
[S390] qdio: prevent oopsing if qdio_establish fails

If qdio_establish fails we call qdio_shutdown to cleanup the
qdio subchannel. The tiq_list entry may not be valid at that
time, therefore we must ignore queues with an invalid list entry
in tiqdio_remove_input_queues.

Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/qdio_thinint.c