Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 262394
b: refs/heads/master
c: 34cd551
h: refs/heads/master
v: v3
  • Loading branch information
Stefan Haberland authored and Heiko Carstens committed Aug 3, 2011
1 parent a438bdc commit ad00b15
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9dc7356ee1266d6a69fc80f28d006f71c20bf172
refs/heads/master: 34cd551a31cd4e35cd3f9ed9f13bb46b4ee98508
9 changes: 9 additions & 0 deletions trunk/drivers/s390/block/dasd_eckd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1461,6 +1461,15 @@ dasd_eckd_check_characteristics(struct dasd_device *device)
"Read device characteristic failed, rc=%d", rc);
goto out_err3;
}

if ((device->features & DASD_FEATURE_USERAW) &&
!(private->rdc_data.facilities.RT_in_LR)) {
dev_err(&device->cdev->dev, "The storage server does not "
"support raw-track access\n");
rc = -EINVAL;
goto out_err3;
}

/* find the valid cylinder size */
if (private->rdc_data.no_cyl == LV_COMPAT_CYL &&
private->rdc_data.long_no_cyl)
Expand Down

0 comments on commit ad00b15

Please sign in to comment.