This patch simply up cleans up a nit and corrects an error message
issue that were introduced in the Multiple DVA scrub patch.
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tom Caputi <tcaputi@datto.com>
Closes #8619
if (dvas != 0) {
if (error == EACCES || error == EINVAL) {
- (void) fprintf(stderr, "the '-c' option may "
+ (void) fprintf(stderr, "the '-C' option may "
"not be used with logical data errors "
"'decrypt' and 'decompress'\n");
libzfs_fini(g_zfs);
dsl_scan_t *scn = spa->spa_dsl_pool->dp_scan;
dva_t dva_copy[SPA_DVAS_PER_BP];
- c = BP_GET_NDVAS(zio->io_bp);
-
/*
* The sequential scrub code sorts and issues all DVAs
* of a bp separately. Each of these IOs includes all