diff options
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/block/dasd_eckd.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/s390/block/dasd_eckd.c b/drivers/s390/block/dasd_eckd.c index 30fb979d684d..6e835c9fdfcb 100644 --- a/drivers/s390/block/dasd_eckd.c +++ b/drivers/s390/block/dasd_eckd.c | |||
@@ -1461,6 +1461,15 @@ dasd_eckd_check_characteristics(struct dasd_device *device) | |||
1461 | "Read device characteristic failed, rc=%d", rc); | 1461 | "Read device characteristic failed, rc=%d", rc); |
1462 | goto out_err3; | 1462 | goto out_err3; |
1463 | } | 1463 | } |
1464 | |||
1465 | if ((device->features & DASD_FEATURE_USERAW) && | ||
1466 | !(private->rdc_data.facilities.RT_in_LR)) { | ||
1467 | dev_err(&device->cdev->dev, "The storage server does not " | ||
1468 | "support raw-track access\n"); | ||
1469 | rc = -EINVAL; | ||
1470 | goto out_err3; | ||
1471 | } | ||
1472 | |||
1464 | /* find the valid cylinder size */ | 1473 | /* find the valid cylinder size */ |
1465 | if (private->rdc_data.no_cyl == LV_COMPAT_CYL && | 1474 | if (private->rdc_data.no_cyl == LV_COMPAT_CYL && |
1466 | private->rdc_data.long_no_cyl) | 1475 | private->rdc_data.long_no_cyl) |