aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message/i2o/i2o_block.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/message/i2o/i2o_block.c')
-rw-r--r--drivers/message/i2o/i2o_block.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/message/i2o/i2o_block.c b/drivers/message/i2o/i2o_block.c
index e153f5d5237d..8b5cbfc3ba97 100644
--- a/drivers/message/i2o/i2o_block.c
+++ b/drivers/message/i2o/i2o_block.c
@@ -916,8 +916,10 @@ static void i2o_block_request_fn(struct request_queue *q)
916 blk_stop_queue(q); 916 blk_stop_queue(q);
917 break; 917 break;
918 } 918 }
919 } else 919 } else {
920 __blk_end_request_cur(req, -EIO); 920 blkdev_dequeue_request(req);
921 __blk_end_request_all(req, -EIO);
922 }
921 } 923 }
922}; 924};
923 925