Commit 8192a0cd authored by Wang Sheng-Hui's avatar Wang Sheng-Hui Committed by Mike Snitzer

dm mpath: use DM_MAPIO_SUBMITTED instead of magic number 0 in process_queued_bios()

Signed-off-by: default avatarWang Sheng-Hui <shhuiw@foxmail.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 706dd22f
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment