projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0377a07
)
dm rq: add a missing break to map_request
author
Christoph Hellwig
<hch@lst.de>
Mon, 15 May 2017 15:28:36 +0000
(17:28 +0200)
committer
Mike Snitzer
<snitzer@redhat.com>
Mon, 15 May 2017 19:09:51 +0000
(15:09 -0400)
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>
drivers/md/dm-rq.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/md/dm-rq.c
b/drivers/md/dm-rq.c
index 2af27026aa2edd7ec0683c0d6f92ac3612eff0d4..b639fa7246eebec191aa8a084333391ab0435dfa 100644
(file)
--- 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();