提交 7b06e09a 编写于 作者: B Bart Van Assche 提交者: Mike Snitzer

dm mpath: avoid that building with W=1 causes gcc 7 to complain about fall-through

Signed-off-by: NBart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: NChristoph Hellwig <hch@lst.de>
Signed-off-by: NMike Snitzer <snitzer@redhat.com>
上级 1c23484c
...@@ -1379,6 +1379,7 @@ static void pg_init_done(void *data, int errors) ...@@ -1379,6 +1379,7 @@ static void pg_init_done(void *data, int errors)
case SCSI_DH_RETRY: case SCSI_DH_RETRY:
/* Wait before retrying. */ /* Wait before retrying. */
delay_retry = 1; delay_retry = 1;
/* fall through */
case SCSI_DH_IMM_RETRY: case SCSI_DH_IMM_RETRY:
case SCSI_DH_RES_TEMP_UNAVAIL: case SCSI_DH_RES_TEMP_UNAVAIL:
if (pg_init_limit_reached(m, pgpath)) if (pg_init_limit_reached(m, pgpath))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册