View | Details | Raw Unified | Return to bug 212137
Collapse All | Expand All

(-)b/sys/boot/zfs/zfsimpl.c (-2 / +1 lines)
Lines 425-431 vdev_read_phys(vdev_t *vdev, const blkptr_t *bp, void *buf, Link Here
425
	rc = vdev->v_phys_read(vdev, vdev->v_read_priv, offset, buf, psize);
425
	rc = vdev->v_phys_read(vdev, vdev->v_read_priv, offset, buf, psize);
426
	if (rc)
426
	if (rc)
427
		return (rc);
427
		return (rc);
428
	if (bp && zio_checksum_verify(vdev->spa, bp, buf))
428
	if (vdev->spa && bp && zio_checksum_verify(vdev->spa, bp, buf))
429
		return (EIO);
429
		return (EIO);
430
430
431
	return (0);
431
	return (0);
432
- 

Return to bug 212137