dm: missing break in process_queued_bios()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 14 Jun 2017 14:22:55 +0000 (08:22 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 14 Jun 2017 14:22:55 +0000 (08:22 -0600)
his used to be a fall through case, but we shifted code around and I
think we want a break here now.

Fixes: 4e4cbee93d56 ("block: switch bios to blk_status_t")

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/dm-mpath.c

index a7d2e0840cc5e97555f016f59a2b1ae1ae706b8b..0e8ab5bb3575fccf24a5734d1f5fe8149210b6aa 100644 (file)
@@ -625,6 +625,7 @@ static void process_queued_bios(struct work_struct *work)
                case DM_MAPIO_KILL:
                        bio->bi_status = BLK_STS_IOERR;
                        bio_endio(bio);
+                       break;
                case DM_MAPIO_REQUEUE:
                        bio->bi_status = BLK_STS_DM_REQUEUE;
                        bio_endio(bio);