aboutsummaryrefslogtreecommitdiff
path: root/drivers/s390/cio/idset.c
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2008-12-25 13:39:08 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-12-25 13:39:08 +0100
commit5fb6b8544d9ccd2ed478af777f9e99e342eb8886 (patch)
tree21d3819588970ea7e0421d79df088332fcadbb17 /drivers/s390/cio/idset.c
parent6eff208f479d6fe99fd92c0e6bf7e930bb45cd30 (diff)
[S390] cio: Only register ccw_device for registered subchannel.
There is a race between io_subchannel_register() and io_subchannel_sch_event() which may cause a subchannel to be unregistered because it is no longer operational before io_subchannel_register() had run. We need to check whether the subchannel is still registered before the ccw device can be registered and just bail out if it is not. Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/idset.c')
0 files changed, 0 insertions, 0 deletions