summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-mpath.c
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2017-08-09 11:32:13 -0700
committerMike Snitzer <snitzer@redhat.com>2017-08-28 09:58:28 -0400
commit7b06e09a6d81868309f68069a6dca7ff62d47beb (patch)
tree023c8274640fb1f7e67e5758f05cf4e2145f1213 /drivers/md/dm-mpath.c
parent1c23484c355ec360ca2f37914f8a4802c6baeead (diff)
downloadtalos-op-linux-7b06e09a6d81868309f68069a6dca7ff62d47beb.tar.gz
talos-op-linux-7b06e09a6d81868309f68069a6dca7ff62d47beb.zip
dm mpath: avoid that building with W=1 causes gcc 7 to complain about fall-through
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-mpath.c')
-rw-r--r--drivers/md/dm-mpath.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c
index d24e4b05f5da..97bca9464395 100644
--- a/drivers/md/dm-mpath.c
+++ b/drivers/md/dm-mpath.c
@@ -1379,6 +1379,7 @@ static void pg_init_done(void *data, int errors)
case SCSI_DH_RETRY:
/* Wait before retrying. */
delay_retry = 1;
+ /* fall through */
case SCSI_DH_IMM_RETRY:
case SCSI_DH_RES_TEMP_UNAVAIL:
if (pg_init_limit_reached(m, pgpath))
OpenPOWER on IntegriCloud