]> git.proxmox.com Git - mirror_zfs.git/commit
spa.h: use IN_BASE instead of IN_FREEBSD_BASE
authorYuri Pankov <113725409+yuripv@users.noreply.github.com>
Thu, 29 Jun 2023 18:50:52 +0000 (20:50 +0200)
committerGitHub <noreply@github.com>
Thu, 29 Jun 2023 18:50:52 +0000 (11:50 -0700)
commit77a3bb1f47e67c233eb1961b8746748c02bafde1
treef96fe694da02ede26d5cc76161091cd383346df2
parent62ace21a149c34cfe1b5870a76eb036fe805f869
spa.h: use IN_BASE instead of IN_FREEBSD_BASE

Consistently get the proper default value for autotrim.

Currently, only the kernel module is built with IN_FREEBSD_BASE,
and libzfs get the wrong default value, leading to confusion and
incorrect output when autotrim value was not set explicitly.

Reviewed-by: Warner Losh <imp@bsdimp.com>
Signed-off-by: Yuri Pankov <yuripv@FreeBSD.org>
Closes #15016
include/sys/spa.h