aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/vdev_raidz.c
diff options
context:
space:
mode:
authorToomas Soome <[email protected]>2020-09-01 05:35:11 +0300
committerGitHub <[email protected]>2020-08-31 19:35:11 -0700
commit1144586b57350f0f850d2428dccf7c80cbaa7485 (patch)
tree264d26124888c07d27f440b69830a010cd7e1c10 /module/zfs/vdev_raidz.c
parentabe4fbfd01c2440813c9f31ca6727473e22d0039 (diff)
zio_ereport_post() and zio_ereport_start() return values are ignored
use (void) to silence analyzers. Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Toomas Soome <[email protected]> Closes #10857
Diffstat (limited to 'module/zfs/vdev_raidz.c')
-rw-r--r--module/zfs/vdev_raidz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/vdev_raidz.c b/module/zfs/vdev_raidz.c
index 8d4962805..4320078b6 100644
--- a/module/zfs/vdev_raidz.c
+++ b/module/zfs/vdev_raidz.c
@@ -1797,7 +1797,7 @@ raidz_checksum_error(zio_t *zio, raidz_col_t *rc, abd_t *bad_data)
zbc.zbc_has_cksum = 0;
zbc.zbc_injected = rm->rm_ecksuminjected;
- zfs_ereport_post_checksum(zio->io_spa, vd,
+ (void) zfs_ereport_post_checksum(zio->io_spa, vd,
&zio->io_bookmark, zio, rc->rc_offset, rc->rc_size,
rc->rc_abd, bad_data, &zbc);
}