]> git.proxmox.com Git - mirror_zfs.git/commit
spa: Let spa_taskq_param_get()'s addition of a newline be optional
authorMark Johnston <markj@FreeBSD.org>
Fri, 29 Dec 2023 17:56:35 +0000 (12:56 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 12 Jan 2024 20:24:56 +0000 (12:24 -0800)
commit5a703d1368bf85a6e665f62011e257b3b526c97c
tree9a4abca20894ed4498f501f445113d5d27f77e23
parent3bddc4daec2a3ebc12cbc9785121765fe187f01e
spa: Let spa_taskq_param_get()'s addition of a newline be optional

For FreeBSD sysctls, we don't want the extra newline, since the
sysctl(8) utility will format strings appropriately.

Reviewed-by: Rob Norris <robn@despairlabs.com>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reported-by: Peter Holm <pho@FreeBSD.org>
Signed-off-by: Mark Johnston <markj@FreeBSD.org>
Closes #15719
module/zfs/spa.c