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: MMI-PSA29.97-13-9~5578^2~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ece0728037b15f4d31198f12b359104bcb5db4c8;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.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 2af27026aa2e..b639fa7246ee 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();