diff options
author | 2017-08-09 11:32:13 -0700 | |
---|---|---|
committer | 2017-08-28 09:58:28 -0400 | |
commit | 7b06e09a6d81868309f68069a6dca7ff62d47beb (patch) | |
tree | 023c8274640fb1f7e67e5758f05cf4e2145f1213 /drivers/md | |
parent | dm mpath: do not lock up a CPU with requeuing activity (diff) | |
download | linux-7b06e09a6d81868309f68069a6dca7ff62d47beb.tar.gz linux-7b06e09a6d81868309f68069a6dca7ff62d47beb.tar.bz2 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')
-rw-r--r-- | drivers/md/dm-mpath.c | 1 |
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)) |