diff options
Diffstat (limited to 'drivers/md/dm.c')
-rw-r--r-- | drivers/md/dm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 32440ad5f684..6e15f3565892 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c | |||
@@ -1755,7 +1755,7 @@ static void __split_and_process_bio(struct mapped_device *md, | |||
1755 | * The request function that just remaps the bio built up by | 1755 | * The request function that just remaps the bio built up by |
1756 | * dm_merge_bvec. | 1756 | * dm_merge_bvec. |
1757 | */ | 1757 | */ |
1758 | static void dm_make_request(struct request_queue *q, struct bio *bio) | 1758 | static blk_qc_t dm_make_request(struct request_queue *q, struct bio *bio) |
1759 | { | 1759 | { |
1760 | int rw = bio_data_dir(bio); | 1760 | int rw = bio_data_dir(bio); |
1761 | struct mapped_device *md = q->queuedata; | 1761 | struct mapped_device *md = q->queuedata; |
@@ -1774,12 +1774,12 @@ static void dm_make_request(struct request_queue *q, struct bio *bio) | |||
1774 | queue_io(md, bio); | 1774 | queue_io(md, bio); |
1775 | else | 1775 | else |
1776 | bio_io_error(bio); | 1776 | bio_io_error(bio); |
1777 | return; | 1777 | return BLK_QC_T_NONE; |
1778 | } | 1778 | } |
1779 | 1779 | ||
1780 | __split_and_process_bio(md, map, bio); | 1780 | __split_and_process_bio(md, map, bio); |
1781 | dm_put_live_table(md, srcu_idx); | 1781 | dm_put_live_table(md, srcu_idx); |
1782 | return; | 1782 | return BLK_QC_T_NONE; |
1783 | } | 1783 | } |
1784 | 1784 | ||
1785 | int dm_request_based(struct mapped_device *md) | 1785 | int dm_request_based(struct mapped_device *md) |