diff options
author | Wang Sheng-Hui <shhuiw@foxmail.com> | 2018-03-09 21:18:55 -0500 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2018-04-03 15:04:19 -0400 |
commit | 8192a0cd7648f222d8ba73f302df0f03f07d5c4f (patch) | |
tree | 6ed3ab5563eb3402b87cf026f6b8cf0739d1a8f4 | |
parent | 706dd22f12628b70b342bada819ffc1e80337f3f (diff) |
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>
-rw-r--r-- | drivers/md/dm-mpath.c | 2 |
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) | |||
714 | case DM_MAPIO_REMAPPED: | 714 | case DM_MAPIO_REMAPPED: |
715 | generic_make_request(bio); | 715 | generic_make_request(bio); |
716 | break; | 716 | break; |
717 | case 0: | 717 | case DM_MAPIO_SUBMITTED: |
718 | break; | 718 | break; |
719 | default: | 719 | default: |
720 | WARN_ONCE(true, "__multipath_map_bio() returned %d\n", r); | 720 | WARN_ONCE(true, "__multipath_map_bio() returned %d\n", r); |