]> git.proxmox.com Git - mirror_zfs.git/commitdiff
Revert "spa.h: use IN_BASE instead of IN_FREEBSD_BASE"
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 30 Jun 2023 17:03:41 +0000 (10:03 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 30 Jun 2023 17:03:46 +0000 (10:03 -0700)
This reverts commit 77a3bb1f47e67c233eb1961b8746748c02bafde1.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
include/sys/spa.h

index ac0847793c84c3a33cb0a2c4b432ebe5b1ecc8b2..1fa2044008dca52b5605f227ac429da5f6aa7861 100644 (file)
@@ -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,