mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Revert "openzfs: use IN_BASE instead of IN_FREEBSD_BASE in spa.h"
Further testing (sadly, after committing) shows that I missed the fact
that IN_BASE is used as userland/kernel delimiter (and not just for
FreeBSD-specific code unlike the IN_FREEBSD_BASE). Revert until I have
a full (and proper) fix.
This reverts commit d2a45e9e81.
This commit is contained in:
parent
d2a45e9e81
commit
af2939f227
1 changed files with 2 additions and 2 deletions
|
|
@ -723,12 +723,12 @@ typedef enum spa_mode {
|
|||
* Send TRIM commands in-line during normal pool operation while deleting.
|
||||
* OFF: no
|
||||
* ON: yes
|
||||
* NB: IN_BASE is defined within the FreeBSD sources.
|
||||
* NB: IN_FREEBSD_BASE is defined within the FreeBSD sources.
|
||||
*/
|
||||
typedef enum {
|
||||
SPA_AUTOTRIM_OFF = 0, /* default */
|
||||
SPA_AUTOTRIM_ON,
|
||||
#ifdef IN_BASE
|
||||
#ifdef IN_FREEBSD_BASE
|
||||
SPA_AUTOTRIM_DEFAULT = SPA_AUTOTRIM_ON,
|
||||
#else
|
||||
SPA_AUTOTRIM_DEFAULT = SPA_AUTOTRIM_OFF,
|
||||
|
|
|
|||
Loading…
Reference in a new issue