diff options
| author | Cornelia Huck <[email protected]> | 2007-10-12 16:11:26 +0200 |
|---|---|---|
| committer | Martin Schwidefsky <[email protected]> | 2007-10-12 16:13:02 +0200 |
| commit | 3f4cf6e72f9f6a0b046b32881acc4f829f3aaa46 (patch) | |
| tree | 84302932647aed49fa65b506fd0f5652af276915 /scripts/patch-kernel | |
| parent | 3952c8d43aa23862181ad23ecdf72895b4be3143 (diff) | |
[S390] cio: Avoid machine check vs. not operational races.
There was the possibilty that an action like ccw_device_set_offline()
triggered by a device gone machine check might trigger a not oper
event. Unfortunately, this could lead to the situation that we tried
to unregister a subchannel twice: Once from the slow path evaluation,
and once via the not oper event.
Fix this by always using the same mechanism (css_schedule_eval()) for
triggering the unregister. This makes sure that unregistration will
only be done once. As an added bonus, it also simplyfies the code.
Signed-off-by: Cornelia Huck <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions