mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	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:
		
							parent
							
								
									2b10e32561
								
							
						
					
					
						commit
						ac8ae18d22
					
				| @ -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, | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Brian Behlendorf
						Brian Behlendorf