summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-mpath.c
diff options
context:
space:
mode:
authorWang Sheng-Hui2018-03-10 03:18:55 +0100
committerMike Snitzer2018-04-03 21:04:19 +0200
commit8192a0cd7648f222d8ba73f302df0f03f07d5c4f (patch)
tree6ed3ab5563eb3402b87cf026f6b8cf0739d1a8f4 /drivers/md/dm-mpath.c
parentdm stripe: get rid of a Variable Length Array (VLA) (diff)
downloadkernel-qcow2-linux-8192a0cd7648f222d8ba73f302df0f03f07d5c4f.tar.gz
kernel-qcow2-linux-8192a0cd7648f222d8ba73f302df0f03f07d5c4f.tar.xz
kernel-qcow2-linux-8192a0cd7648f222d8ba73f302df0f03f07d5c4f.zip
dm mpath: use DM_MAPIO_SUBMITTED instead of magic number 0 in process_queued_bios()
Signed-off-by: Wang Sheng-Hui <shhuiw@foxmail.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-mpath.c')
-rw-r--r--drivers/md/dm-mpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c
index 1e60ec44942e..746dd8a75b4a 100644
--- 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);