diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-06-14 08:22:55 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-06-14 08:22:55 -0600 |
commit | 047385b3dd85622768a882fc457a37e040640389 (patch) | |
tree | dc129f2dc53ed6a967357bad33e1a97cb9e6aa42 /drivers/md | |
parent | f06345add95f388519e83ec398134853e0f64ac9 (diff) | |
download | op-kernel-dev-047385b3dd85622768a882fc457a37e040640389.zip op-kernel-dev-047385b3dd85622768a882fc457a37e040640389.tar.gz |
dm: missing break in process_queued_bios()
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>
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/dm-mpath.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c index a7d2e08..0e8ab5b 100644 --- a/drivers/md/dm-mpath.c +++ b/drivers/md/dm-mpath.c @@ -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); |