From: Stefan Haberland Date: Fri, 14 Nov 2008 17:18:08 +0000 (+0100) Subject: [S390] dasd: log sense for fatal errors X-Git-Tag: v2.6.28-rc5~8^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a9cffb227d59db526286cc9f84bf258e68a97470;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Martin Schwidefsky --- diff --git a/drivers/s390/block/dasd.c b/drivers/s390/block/dasd.c index 4b76fca64a6..363bd1303d2 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) {