]> git.baikalelectronics.ru Git - kernel.git/commit
s390/cio: derive cdev information only for IO-subchannels
authorVineeth Vijayan <vneethv@linux.ibm.com>
Fri, 17 Sep 2021 13:04:01 +0000 (15:04 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 4 Oct 2021 07:49:36 +0000 (09:49 +0200)
commitcf70ce1ccfefa67b9e840fd200d03fc78ce07f60
tree0589f1f22334f731f866c9996e6c05567631bce7
parentcc66183319ad52289b94643724ca3ef1c061ced8
s390/cio: derive cdev information only for IO-subchannels

cdev->online for the purge function must not be checked for the
non-IO subchannel type. Make sure that we are deriving the cdev only
from sch-type SUBCHANNEL_TYPE_IO.

Signed-off-by: Vineeth Vijayan <vneethv@linux.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
drivers/s390/cio/css.c