Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ece07280 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Mike Snitzer
Browse files

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: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 0377a07c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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();