mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	blkg_tryget config test: initialize struct
Missing struct initialization in a config test results in the interface being incorrectly detected. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Adam Moss <c@yotes.com> Signed-off-by: Mathieu Velten <matmaul@gmail.com> Closes #10713 Closes #11049
This commit is contained in:
		
							parent
							
								
									9cf33c99fc
								
							
						
					
					
						commit
						f40a1ad9e0
					
				@ -344,7 +344,7 @@ AC_DEFUN([ZFS_AC_KERNEL_SRC_BLKG_TRYGET], [
 | 
			
		||||
		#include <linux/bio.h>
 | 
			
		||||
		#include <linux/fs.h>
 | 
			
		||||
	],[
 | 
			
		||||
		struct blkcg_gq blkg __attribute__ ((unused));
 | 
			
		||||
		struct blkcg_gq blkg __attribute__ ((unused)) = {};
 | 
			
		||||
		bool rc __attribute__ ((unused));
 | 
			
		||||
		rc = blkg_tryget(&blkg);
 | 
			
		||||
	], [], [$ZFS_META_LICENSE])
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user