Skip to content

Commit

Permalink
dm mpath: use DM_MAPIO_SUBMITTED instead of magic number 0 in process…
Browse files Browse the repository at this point in the history
…_queued_bios()

Signed-off-by: Wang Sheng-Hui <shhuiw@foxmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
  • Loading branch information
Wang Sheng-Hui authored and Mike Snitzer committed Apr 3, 2018
1 parent 706dd22 commit 8192a0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/md/dm-mpath.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8192a0c

Please sign in to comment.