mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	FreeBSD: minor_t needs to be signed so that -1 is recognized as such
zfsdev_close sets zs_minor to -1 to avoid duplicate calls to destroy. This doesn't mix well with the current u_int used. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Alexander Motin <mav@FreeBSD.org> Signed-off-by: Matt Macy <mmacy@FreeBSD.org> Closes #11437
This commit is contained in:
		
							parent
							
								
									dd487640b2
								
							
						
					
					
						commit
						c32c475363
					
				| @ -64,7 +64,7 @@ typedef u_int		uint_t; | ||||
| typedef u_char		uchar_t; | ||||
| typedef u_short		ushort_t; | ||||
| typedef u_long		ulong_t; | ||||
| typedef	u_int		minor_t; | ||||
| typedef	int		minor_t; | ||||
| /* END CSTYLED */ | ||||
| #ifndef	_OFF64_T_DECLARED | ||||
| #define	_OFF64_T_DECLARED | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Matthew Macy
						Matthew Macy