[S390] cio: subchannel evaluation function operates without lock
commit564337f34cc10fd8f30329e4e5f14f8995db5711
authorPeter Oberparleiter <peter.oberparleiter@de.ibm.com>
Wed, 20 Sep 2006 14:00:01 +0000 (20 16:00 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 20 Sep 2006 14:00:01 +0000 (20 16:00 +0200)
treeb2f4791c1b696d1ce4202b14c6dcae3b3211de01
parent28bdc6f6233f380ddc0b430cabd88ffeafea34c7
[S390] cio: subchannel evaluation function operates without lock

css_evaluate_subchannel() operates subchannel without lock which can
lead to erratic behavior caused by concurrent device access. Also
split evaluation function to make it more readable.

Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/css.c