[PATCH] s390 (4/12): dasd driver fix.

From: Martin Schwidefsky
Date: Thu Apr 08 2004 - 09:33:31 EST


dasd driver changes:
- Fix check for device type in error recovery for fba devices.

diffstat:
drivers/s390/block/dasd_fba.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff -urN linux-2.6/drivers/s390/block/dasd_fba.c linux-2.6-s390/drivers/s390/block/dasd_fba.c
--- linux-2.6/drivers/s390/block/dasd_fba.c Sun Apr 4 05:37:36 2004
+++ linux-2.6-s390/drivers/s390/block/dasd_fba.c Thu Apr 8 15:21:25 2004
@@ -4,7 +4,7 @@
* Bugreports.to..: <Linux390@xxxxxxxxxx>
* (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 1999,2000
*
- * $Revision: 1.32 $
+ * $Revision: 1.33 $
*/

#include <linux/config.h>
@@ -205,7 +205,7 @@
return dasd_era_none;

cdev = device->cdev;
- switch (cdev->id.dev_model) {
+ switch (cdev->id.dev_type) {
case 0x3370:
return dasd_3370_erp_examine(cqr, irb);
case 0x9336:
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/