]> git.karo-electronics.de Git - linux-beck.git/commit
[S390] dasd: check sense type in device change handler
authorStefan Weinhuber <wein@de.ibm.com>
Wed, 20 Apr 2011 08:15:35 +0000 (10:15 +0200)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Wed, 20 Apr 2011 08:15:44 +0000 (10:15 +0200)
commitc7a29e56f0a3526b71e9694b403b8e2cbe9c31e5
tree5ff321fdec6bdaff9e1d58a38df2fdef2c28324b
parente35c76cd47c244eaa7a74adaabde4d0a1cadb907
[S390] dasd: check sense type in device change handler

When evaluating sense data in dasd_eckd_check_for_device_change, we
must always check for the type of sense data in byte 27, bit 0, to
make sure that the rest of the sense data is interpreted correctly.

Signed-off-by: Stefan Weinhuber <wein@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dasd_eckd.c