diff options
author | Stefan Haberland <stefan.haberland@de.ibm.com> | 2008-11-14 18:18:08 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-11-14 18:18:54 +0100 |
commit | a9cffb227d59db526286cc9f84bf258e68a97470 (patch) | |
tree | 673875fd52bd99b28e058f2d818cffdf7b130499 /drivers/s390 | |
parent | 74af283102b358b0da545460d0d176f473e110f6 (diff) | |
download | kernel_samsung_aries-a9cffb227d59db526286cc9f84bf258e68a97470.zip kernel_samsung_aries-a9cffb227d59db526286cc9f84bf258e68a97470.tar.gz kernel_samsung_aries-a9cffb227d59db526286cc9f84bf258e68a97470.tar.bz2 |
[S390] dasd: log sense for fatal errors
The logging of sense data for fatal errors was accidentally removed
during Hyper PAV implementation.
Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/block/dasd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/s390/block/dasd.c b/drivers/s390/block/dasd.c index 4b76fca..363bd13 100644 --- a/drivers/s390/block/dasd.c +++ b/drivers/s390/block/dasd.c @@ -1746,6 +1746,11 @@ restart: goto restart; } + /* log sense for fatal error */ + if (cqr->status == DASD_CQR_FAILED) { + dasd_log_sense(cqr, &cqr->irb); + } + /* First of all call extended error reporting. */ if (dasd_eer_enabled(base) && cqr->status == DASD_CQR_FAILED) { |