projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
706dd22
)
dm mpath: use DM_MAPIO_SUBMITTED instead of magic number 0 in process_queued_bios()
author
Wang Sheng-Hui
<shhuiw@foxmail.com>
Sat, 10 Mar 2018 02:18:55 +0000
(10:18 +0800)
committer
Mike Snitzer
<snitzer@redhat.com>
Tue, 3 Apr 2018 19:04:19 +0000
(15:04 -0400)
Signed-off-by: Wang Sheng-Hui <shhuiw@foxmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-mpath.c
patch
|
blob
|
history
diff --git
a/drivers/md/dm-mpath.c
b/drivers/md/dm-mpath.c
index
1e60ec4
..
746dd8a
100644
(file)
--- a/
drivers/md/dm-mpath.c
+++ b/
drivers/md/dm-mpath.c
@@
-714,7
+714,7
@@
static void process_queued_bios(struct work_struct *work)
case DM_MAPIO_REMAPPED:
generic_make_request(bio);
break;
- case
0
:
+ case
DM_MAPIO_SUBMITTED
:
break;
default:
WARN_ONCE(true, "__multipath_map_bio() returned %d\n", r);