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>
This commit is contained in:
Wang Sheng-Hui 2018-03-10 10:18:55 +08:00 committed by Mike Snitzer
parent 706dd22f12
commit 8192a0cd76
1 changed files with 1 additions and 1 deletions

View File

@ -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);