X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=include%2Fsys%2Fzio_checksum.h;h=de89bc9a796726cffe2b51005f63d9f3a6810776;hb=294f68063b49c06d3118d51016811063e69cf97a;hp=0956c04ab1b43877fcc327d6c9e17d76ac8dbb7d;hpb=6283f55ea1b91e680386388c17d14b89e344fa8d;p=zfs.git diff --git a/include/sys/zio_checksum.h b/include/sys/zio_checksum.h index 0956c04..de89bc9 100644 --- a/include/sys/zio_checksum.h +++ b/include/sys/zio_checksum.h @@ -39,7 +39,7 @@ typedef void zio_checksum_t(const void *data, uint64_t size, zio_cksum_t *zcp); /* * Information about each checksum function. */ -typedef struct zio_checksum_info { +typedef const struct zio_checksum_info { zio_checksum_t *ci_func[2]; /* checksum function for each byteorder */ int ci_correctable; /* number of correctable bits */ int ci_eck; /* uses zio embedded checksum? */