[S390] dasd: fail requests when device state is less then ready
authorStefan Weinhuber <wein@de.ibm.com>
Fri, 11 Sep 2009 08:28:28 +0000 (10:28 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 11 Sep 2009 08:29:41 +0000 (10:29 +0200)
commit97f604b07473669f4da52b1f859ee45e8d48d42a
treeb93604552144e1e743b988ce343ae35a9a5a6559
parent3ac276f8cb020adbbc3399c47edc1100748c2c16
[S390] dasd: fail requests when device state is less then ready

A DASD device that is not ready or online has no defined disk layout,
so all requests that arrive in such a state need to be returned as
failed.

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