Skip to content
Permalink
Browse files

Cleanup nits from ab7615d

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
  • Loading branch information...
tcaputi authored and behlendorf committed Apr 14, 2019
1 parent b92f5d9 commit 7dcd31883299b3ee3801dd701f7a986a0af9b2f9
Showing with 1 addition and 3 deletions.
  1. +1 −1 cmd/zinject/zinject.c
  2. +0 −2 module/zfs/vdev_mirror.c
@@ -1221,7 +1221,7 @@ main(int argc, char **argv)

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);
@@ -257,8 +257,6 @@ vdev_mirror_map_init(zio_t *zio)
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

0 comments on commit 7dcd318

Please sign in to comment.
You can’t perform that action at this time.