mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	tunables: remove support for s64 tunables
Nothing uses them now. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Alexander Motin <mav@FreeBSD.org> Reviewed-by: Pavel Snajdr <snajpa@snajpa.net> Signed-off-by: Rob Norris <robn@despairlabs.com> Closes #17377
This commit is contained in:
		
							parent
							
								
									58235f52af
								
							
						
					
					
						commit
						6e7e7ea7ef
					
				| @ -79,7 +79,7 @@ enum scope_prefix_types { | |||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| /*
 | /*
 | ||||||
|  * While we define our own s64/u64 types, there is no reason to reimplement the |  * While we define our own u64 types, there is no reason to reimplement the | ||||||
|  * existing Linux kernel types, so we use the preprocessor to remap our |  * existing Linux kernel types, so we use the preprocessor to remap our | ||||||
|  * "custom" implementations to the kernel ones. This is done because the CPP |  * "custom" implementations to the kernel ones. This is done because the CPP | ||||||
|  * does not allow us to write conditional definitions. The fourth definition |  * does not allow us to write conditional definitions. The fourth definition | ||||||
| @ -112,11 +112,6 @@ enum scope_prefix_types { | |||||||
| #define	spl_param_ops_charp param_ops_charp | #define	spl_param_ops_charp param_ops_charp | ||||||
| #define	spl_param_ops_STRING param_ops_charp | #define	spl_param_ops_STRING param_ops_charp | ||||||
| 
 | 
 | ||||||
| int spl_param_set_s64(const char *val, zfs_kernel_param_t *kp); |  | ||||||
| extern int spl_param_get_s64(char *buffer, zfs_kernel_param_t *kp); |  | ||||||
| extern const struct kernel_param_ops spl_param_ops_s64; |  | ||||||
| #define	spl_param_ops_S64 spl_param_ops_s64 |  | ||||||
| 
 |  | ||||||
| extern int spl_param_set_u64(const char *val, zfs_kernel_param_t *kp); | extern int spl_param_set_u64(const char *val, zfs_kernel_param_t *kp); | ||||||
| extern int spl_param_get_u64(char *buffer, zfs_kernel_param_t *kp); | extern int spl_param_get_u64(char *buffer, zfs_kernel_param_t *kp); | ||||||
| extern const struct kernel_param_ops spl_param_ops_u64; | extern const struct kernel_param_ops spl_param_ops_u64; | ||||||
|  | |||||||
| @ -575,7 +575,6 @@ EXPORT_SYMBOL(spl_param_get_##type);					\ | |||||||
| EXPORT_SYMBOL(spl_param_set_##type);					\ | EXPORT_SYMBOL(spl_param_set_##type);					\ | ||||||
| EXPORT_SYMBOL(spl_param_ops_##type); | EXPORT_SYMBOL(spl_param_ops_##type); | ||||||
| 
 | 
 | ||||||
| define_spl_param(s64, "%lld") |  | ||||||
| define_spl_param(u64, "%llu") | define_spl_param(u64, "%llu") | ||||||
| 
 | 
 | ||||||
| /*
 | /*
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Rob Norris
						Rob Norris