diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2008-12-25 13:39:08 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-12-25 13:39:08 +0100 |
commit | 5fb6b8544d9ccd2ed478af777f9e99e342eb8886 (patch) | |
tree | 21d3819588970ea7e0421d79df088332fcadbb17 /drivers/s390/cio/idset.c | |
parent | 6eff208f479d6fe99fd92c0e6bf7e930bb45cd30 (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