goto usage_error;
}
lsa.lsa_pattern = LLAPI_LAYOUT_OVERSTRIPING;
- /* fall through */
+ fallthrough;
case 'c':
errno = 0;
lsa.lsa_stripe_count = strtoul(optarg, &end, 0);
switch (*endptr) {
case 'y':
unit *= 52; /* 52 weeks + 1 day below */
- case 'w': /* fallthrough */
+ fallthrough;
+ case 'w':
unit *= 7;
if (param->fp_time_margin == FP_DEFAULT_TIME_MARGIN)
param->fp_time_margin *= (1 + unit / 52);
unit += (*endptr == 'y'); /* +1 day for 365 days/year */
+ fallthrough;
case '\0': /* days are default unit if none used */
- case 'd': /* fallthrough */
+ fallthrough;
+ case 'd':
unit *= 24;
- case 'h': /* fallthrough */
+ fallthrough;
+ case 'h':
unit *= 60;
- case 'm': /* fallthrough */
+ fallthrough;
+ case 'm':
unit *= 60;
- case 's': /* fallthrough */
+ fallthrough;
+ case 's':
break;
/* don't need to multiply by 1 for seconds */
default:
xsign = ¶m.fp_asign;
param.fp_exclude_atime = !!neg_opt;
/* no break, this falls through to 'B' for btime */
+ fallthrough;
case 'B':
if (c == 'B') {
xtime = ¶m.fp_btime;
param.fp_exclude_btime = !!neg_opt;
}
/* no break, this falls through to 'C' for ctime */
+ fallthrough;
case 'C':
if (c == 'C') {
xtime = ¶m.fp_ctime;
param.fp_exclude_ctime = !!neg_opt;
}
/* no break, this falls through to 'M' for mtime */
+ fallthrough;
case 'M':
if (c == 'M') {
xtime = ¶m.fp_mtime;
case 't':
fprintf(stderr,
"warning: '-t' deprecated, use '--mdt-hash' or '-H' instead\n");
- /* fallthrough */
+ fallthrough;
#endif
case 'H':
param.fp_verbose |= VERBOSE_HASH_TYPE;
break;
- case 'i': /* fallthrough */
+ case 'i':
+ fallthrough;
case 'm':
param.fp_verbose |= VERBOSE_STRIPE_OFFSET;
break;
default:
fprintf(stderr, "%s: unrecognized option '%s'\n",
progname, argv[optind - 1]);
- /* fallthrough */
+ fallthrough;
case 'h':
return CMD_HELP;
}
case 't':
fprintf(stderr,
"warning: '--hash-type' and '-t' deprecated, use '--mdt-hash' or '-H' instead\n");
- /* fallthrough */
+ fallthrough;
#endif
case 'H':
lsa.lsa_pattern = check_hashtype(optarg);
default:
fprintf(stderr, "%s: unrecognized option '%s'\n",
progname, argv[optind - 1]);
- /* fallthrough */
+ fallthrough;
case 'h':
return CMD_HELP;
}
default:
fprintf(stderr, "%s: unrecognized option '%s'\n",
progname, argv[optind - 1]);
- /* fallthrough */
+ fallthrough;
case 'h':
return CMD_HELP;
}
default:
fprintf(stderr, "%s: unrecognized option '%s'\n",
progname, argv[optind - 1]);
- /* fallthrough */
+ fallthrough;
case 'h':
return CMD_HELP;
}
fprintf(stderr,
"%s setquota: unrecognized option '%s'\n",
progname, argv[optind - 1]);
- /* fallthrough */
+ fallthrough;
case 'h':
rc = CMD_HELP;
goto out;
fprintf(stderr,
"%s data_version: unrecognized option '%s'\n",
progname, argv[optind - 1]);
- /* fallthrough */
+ fallthrough;
case 'h':
return CMD_HELP;
}
default:
fprintf(stderr, "%s: unrecognized option '%s'\n",
progname, argv[optind - 1]);
- /* fallthrough */
+ fallthrough;
case 'h':
return CMD_HELP;
}
default:
fprintf(stderr, "%s: unrecognized option '%s'\n",
progname, argv[optind - 1]);
- /* fallthrough */
+ fallthrough;
case 'h':
return CMD_HELP;
}
default:
fprintf(stderr, "%s: unrecognized option '%s'\n",
progname, argv[optind - 1]);
- /* fallthrough */
+ fallthrough;
case 'h':
return CMD_HELP;
}
default:
fprintf(stderr, "%s: unrecognized option '%s'\n",
progname, argv[optind - 1]);
- /* fallthrough */
+ fallthrough;
case 'h':
return CMD_HELP;
}
default:
fprintf(stderr, "%s: unrecognized option '%s'\n",
progname, argv[optind - 1]);
- /* fallthrough */
+ fallthrough;
case 'h':
rc = CMD_HELP;
goto error;
default:
fprintf(stderr, "%s: unrecognized option '%s'\n",
progname, argv[optind - 1]);
- /* fallthrough */
+ fallthrough;
case 'h':
return CMD_HELP;
}
default:
fprintf(stderr, "%s: unrecognized option '%s'\n",
progname, argv[optind - 1]);
- /* fallthrough */
+ fallthrough;
case 'h':
return CMD_HELP;
}
default:
fprintf(stderr, "%s: unrecognized option '%s'\n",
progname, argv[optind - 1]);
- /* fallthrough */
+ fallthrough;
case 'h':
return CMD_HELP;
}
default:
fprintf(stderr, "%s: unrecognized option '%s'\n",
progname, argv[optind - 1]);
- /* fallthrough */
+ fallthrough;
case 'h':
rc = CMD_HELP;
goto error;
default:
fprintf(stderr, "%s: unrecognized option '%s'\n",
progname, argv[optind - 1]);
- /* fallthrough */
+ fallthrough;
case 'h':
return CMD_HELP;
}
default:
fprintf(stderr, "%s: unrecognized option '%s'\n",
progname, argv[optind - 1]);
- /* fallthrough */
+ fallthrough;
case 'h':
return CMD_HELP;
}
default:
fprintf(stderr, "%s: unrecognized option '%s'\n",
progname, argv[optind - 1]);
- /* fallthrough */
+ fallthrough;
case 'h':
return CMD_HELP;
}
default:
fprintf(stderr, "%s: unrecognized option '%s'\n",
progname, argv[optind - 1]);
- /* fallthrough */
+ fallthrough;
case 'h':
return CMD_HELP;
}
default:
fprintf(stderr, "%s: unrecognized option '%s'\n",
progname, argv[optind - 1]);
- /* fallthrough */
+ fallthrough;
case 'h':
return CMD_HELP;
}