dm mpath: avoid that building with W=1 causes gcc 7 to complain about fall-through
authorBart Van Assche <bart.vanassche@wdc.com>
Wed, 9 Aug 2017 18:32:13 +0000 (11:32 -0700)
committerMike Snitzer <snitzer@redhat.com>
Mon, 28 Aug 2017 13:58:28 +0000 (09:58 -0400)
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>
drivers/md/dm-mpath.c

index d24e4b05f5dacefe5c0528b0ff3b75444bb216e6..97bca94643958bbd69260f643279d646d7956bbe 100644 (file)
@@ -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))