Browse Source

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>
Bart Van Assche 8 years ago
parent
commit
7b06e09a6d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/md/dm-mpath.c

+ 1 - 0
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))