Revert "spa.h: use IN_BASE instead of IN_FREEBSD_BASE"

This reverts commit 77a3bb1f47.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
Brian Behlendorf 2023-06-30 10:03:41 -07:00
parent 2b10e32561
commit ac8ae18d22

View File

@ -723,12 +723,12 @@ typedef enum spa_mode {
* Send TRIM commands in-line during normal pool operation while deleting. * Send TRIM commands in-line during normal pool operation while deleting.
* OFF: no * OFF: no
* ON: yes * ON: yes
* NB: IN_BASE is defined within the FreeBSD sources. * NB: IN_FREEBSD_BASE is defined within the FreeBSD sources.
*/ */
typedef enum { typedef enum {
SPA_AUTOTRIM_OFF = 0, /* default */ SPA_AUTOTRIM_OFF = 0, /* default */
SPA_AUTOTRIM_ON, SPA_AUTOTRIM_ON,
#ifdef IN_BASE #ifdef IN_FREEBSD_BASE
SPA_AUTOTRIM_DEFAULT = SPA_AUTOTRIM_ON, SPA_AUTOTRIM_DEFAULT = SPA_AUTOTRIM_ON,
#else #else
SPA_AUTOTRIM_DEFAULT = SPA_AUTOTRIM_OFF, SPA_AUTOTRIM_DEFAULT = SPA_AUTOTRIM_OFF,