Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 157441
b: refs/heads/master
c: 97f604b
h: refs/heads/master
i:
  157439: e056bfb
v: v3
  • Loading branch information
Stefan Weinhuber authored and Martin Schwidefsky committed Sep 11, 2009
1 parent fae89d5 commit d9d2e3b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3ac276f8cb020adbbc3399c47edc1100748c2c16
refs/heads/master: 97f604b07473669f4da52b1f859ee45e8d48d42a
5 changes: 4 additions & 1 deletion trunk/drivers/s390/block/dasd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1699,8 +1699,11 @@ static void __dasd_process_request_queue(struct dasd_block *block)
* for that. State DASD_STATE_ONLINE is normal block device
* operation.
*/
if (basedev->state < DASD_STATE_READY)
if (basedev->state < DASD_STATE_READY) {
while ((req = blk_fetch_request(block->request_queue)))
__blk_end_request_all(req, -EIO);
return;
}
/* Now we try to fetch requests from the request queue */
while (!blk_queue_plugged(queue) && (req = blk_peek_request(queue))) {
if (basedev->features & DASD_FEATURE_READONLY &&
Expand Down

0 comments on commit d9d2e3b

Please sign in to comment.