ieee1394: sbp2: fix race condition in state change
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 29 Nov 2008 13:55:47 +0000 (14:55 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 29 Nov 2008 16:07:56 +0000 (17:07 +0100)
commit2642b11295ebcc94843045933061bfbb263fce7f
treeaa62e749e88e0d769d2d557d4a067168108943f1
parente47c1feb17e61ef4e2f245c0af0c5a8e2a7798b2
ieee1394: sbp2: fix race condition in state change

An intermediate transition from _RUNNING to _IN_SHUTDOWN could have been
missed by the former code.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/ieee1394/sbp2.c