From: Peter Oberparleiter Date: Thu, 21 Aug 2008 17:46:39 +0000 (+0200) Subject: [S390] cio: call ccw driver notify function with lock held X-Git-Tag: v2.6.27-rc5~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91c36919a456589f4f073671474a1f899e0d3c2b;p=pandora-kernel.git [S390] cio: call ccw driver notify function with lock held Calling a ccw driver's notify function without the ccw device lock held opens up a race window between discovery and handling of a change in the device operational state. As a result, the device driver may encounter unexpected device malfunction, leading to out-of-retry situations or similar. Remove race by extending the ccw device lock from state change discovery to the calling of the notify function. Signed-off-by: Peter Oberparleiter Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed