You need to sign in or sign up before continuing.
提交 8192a0cd 编写于 作者: W Wang Sheng-Hui 提交者: Mike Snitzer

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

Signed-off-by: NWang Sheng-Hui <shhuiw@foxmail.com>
Signed-off-by: NMike Snitzer <snitzer@redhat.com>
上级 706dd22f
...@@ -714,7 +714,7 @@ static void process_queued_bios(struct work_struct *work) ...@@ -714,7 +714,7 @@ static void process_queued_bios(struct work_struct *work)
case DM_MAPIO_REMAPPED: case DM_MAPIO_REMAPPED:
generic_make_request(bio); generic_make_request(bio);
break; break;
case 0: case DM_MAPIO_SUBMITTED:
break; break;
default: default:
WARN_ONCE(true, "__multipath_map_bio() returned %d\n", r); WARN_ONCE(true, "__multipath_map_bio() returned %d\n", r);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册