aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/ps3vram.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/ps3vram.c')
-rw-r--r--drivers/block/ps3vram.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/block/ps3vram.c b/drivers/block/ps3vram.c
index d89fcac59515..56847fcda086 100644
--- a/drivers/block/ps3vram.c
+++ b/drivers/block/ps3vram.c
@@ -598,7 +598,7 @@ out:
598 return next; 598 return next;
599} 599}
600 600
601static void ps3vram_make_request(struct request_queue *q, struct bio *bio) 601static blk_qc_t ps3vram_make_request(struct request_queue *q, struct bio *bio)
602{ 602{
603 struct ps3_system_bus_device *dev = q->queuedata; 603 struct ps3_system_bus_device *dev = q->queuedata;
604 struct ps3vram_priv *priv = ps3_system_bus_get_drvdata(dev); 604 struct ps3vram_priv *priv = ps3_system_bus_get_drvdata(dev);
@@ -614,11 +614,13 @@ static void ps3vram_make_request(struct request_queue *q, struct bio *bio)
614 spin_unlock_irq(&priv->lock); 614 spin_unlock_irq(&priv->lock);
615 615
616 if (busy) 616 if (busy)
617 return; 617 return BLK_QC_T_NONE;
618 618
619 do { 619 do {
620 bio = ps3vram_do_bio(dev, bio); 620 bio = ps3vram_do_bio(dev, bio);
621 } while (bio); 621 } while (bio);
622
623 return BLK_QC_T_NONE;
622} 624}
623 625
624static int ps3vram_probe(struct ps3_system_bus_device *dev) 626static int ps3vram_probe(struct ps3_system_bus_device *dev)