From: Cornelia Huck Date: Fri, 12 Oct 2007 14:11:26 +0000 (+0200) Subject: [S390] cio: Avoid machine check vs. not operational races. X-Git-Tag: v2.6.24-rc1~1433 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f4cf6e72f9f6a0b046b32881acc4f829f3aaa46;p=pandora-kernel.git [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 Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed