zfs/module/zcommon
Richard Yao d1807f168e nvpair: Constify string functions
After addressing coverity complaints involving `nvpair_name()`, the
compiler started complaining about dropping const. This lead to a rabbit
hole where not only `nvpair_name()` needed to be constified, but also
`nvpair_value_string()`, `fnvpair_value_string()` and a few other static
functions, plus variable pointers throughout the code. The result became
a fairly big change, so it has been split out into its own patch.

Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Closes #14612
2023-03-14 15:25:50 -07:00
..
cityhash.c Compile cityhash code into libzfs 2020-03-27 09:11:22 -07:00
zfeature_common.c Implementation of block cloning for ZFS 2023-03-10 11:59:53 -08:00
zfs_comutil.c nvpair: Constify string functions 2023-03-14 15:25:50 -07:00
zfs_deleg.c nvpair: Constify string functions 2023-03-14 15:25:50 -07:00
zfs_fletcher.c zcommon: Refactor FPU state handling in fletcher4 2023-03-14 09:45:28 -07:00
zfs_fletcher_aarch64_neon.c zcommon: Refactor FPU state handling in fletcher4 2023-03-14 09:45:28 -07:00
zfs_fletcher_avx512.c zcommon: Refactor FPU state handling in fletcher4 2023-03-14 09:45:28 -07:00
zfs_fletcher_intel.c zcommon: Refactor FPU state handling in fletcher4 2023-03-14 09:45:28 -07:00
zfs_fletcher_sse.c zcommon: Refactor FPU state handling in fletcher4 2023-03-14 09:45:28 -07:00
zfs_fletcher_superscalar.c zcommon: Refactor FPU state handling in fletcher4 2023-03-14 09:45:28 -07:00
zfs_fletcher_superscalar4.c zcommon: Refactor FPU state handling in fletcher4 2023-03-14 09:45:28 -07:00
zfs_namecheck.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_prop.c dsl_prop_known_index(): check for invalid prop 2022-11-08 10:16:01 -08:00
zpool_prop.c Implementation of block cloning for ZFS 2023-03-10 11:59:53 -08:00
zprop_common.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00