diff options
| -rw-r--r-- | drivers/s390/block/scm_blk.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/s390/block/scm_blk.c b/drivers/s390/block/scm_blk.c index 5d73e6e49af6..548209a9c43c 100644 --- a/drivers/s390/block/scm_blk.c +++ b/drivers/s390/block/scm_blk.c | |||
| @@ -223,8 +223,12 @@ static void scm_blk_request(struct request_queue *rq) | |||
| 223 | int ret; | 223 | int ret; |
| 224 | 224 | ||
| 225 | while ((req = blk_peek_request(rq))) { | 225 | while ((req = blk_peek_request(rq))) { |
| 226 | if (req->cmd_type != REQ_TYPE_FS) | 226 | if (req->cmd_type != REQ_TYPE_FS) { |
| 227 | blk_start_request(req); | ||
| 228 | blk_dump_rq_flags(req, KMSG_COMPONENT " bad request"); | ||
| 229 | blk_end_request_all(req, -EIO); | ||
| 227 | continue; | 230 | continue; |
| 231 | } | ||
| 228 | 232 | ||
| 229 | if (!scm_permit_request(bdev, req)) { | 233 | if (!scm_permit_request(bdev, req)) { |
| 230 | scm_ensure_queue_restart(bdev); | 234 | scm_ensure_queue_restart(bdev); |
