From: Christoph Hellwig Date: Mon, 15 May 2017 15:28:36 +0000 (+0200) Subject: dm rq: add a missing break to map_request X-Git-Tag: v5.15~11275^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ece0728037b15f4d31198f12b359104bcb5db4c8;p=platform%2Fkernel%2Flinux-starfive.git dm rq: add a missing break to map_request We don't want to bug when receiving a DM_MAPIO_KILL value.. Fixes: 412445ac ("dm: introduce a new DM_MAPIO_KILL return value") Signed-off-by: Christoph Hellwig Signed-off-by: Mike Snitzer --- diff --git a/drivers/md/dm-rq.c b/drivers/md/dm-rq.c index 2af2702..b639fa7 100644 --- a/drivers/md/dm-rq.c +++ b/drivers/md/dm-rq.c @@ -507,6 +507,7 @@ static int map_request(struct dm_rq_target_io *tio) case DM_MAPIO_KILL: /* The target wants to complete the I/O */ dm_kill_unmapped_request(rq, -EIO); + break; default: DMWARN("unimplemented target map return value: %d", r); BUG();