From 8192a0cd7648f222d8ba73f302df0f03f07d5c4f Mon Sep 17 00:00:00 2001 From: Wang Sheng-Hui Date: Sat, 10 Mar 2018 10:18:55 +0800 Subject: [PATCH] dm mpath: use DM_MAPIO_SUBMITTED instead of magic number 0 in process_queued_bios() Signed-off-by: Wang Sheng-Hui Signed-off-by: Mike Snitzer --- drivers/md/dm-mpath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);