diff options
author | Christoph Hellwig <hch@lst.de> | 2017-05-15 17:28:36 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2017-05-15 15:09:51 -0400 |
commit | ece0728037b15f4d31198f12b359104bcb5db4c8 (patch) | |
tree | 04a5686cbcc5dfbf50184a745147251dd405166f /drivers/md | |
parent | 0377a07c7a035e0d033cd8b29f0cb15244c0916a (diff) | |
download | op-kernel-dev-ece0728037b15f4d31198f12b359104bcb5db4c8.zip op-kernel-dev-ece0728037b15f4d31198f12b359104bcb5db4c8.tar.gz |
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 <hch@lst.de>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/dm-rq.c | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |