mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	sa_impl: fix SA header bitfield docs
Off by one, confused me a while! Sponsored-by: Klara, Inc. Sponsored-by: Wasabi Technology, Inc. Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Alexander Motin <mav@FreeBSD.org> Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de> Signed-off-by: Rob Norris <rob.norris@klarasystems.com> Closes #16500
This commit is contained in:
		
							parent
							
								
									bc0d89bfc1
								
							
						
					
					
						commit
						c25d5140b0
					
				@ -167,8 +167,8 @@ typedef struct sa_hdr_phys {
 | 
			
		||||
	 * | hdrsz  |layout |
 | 
			
		||||
	 * +--------+-------+
 | 
			
		||||
	 *
 | 
			
		||||
	 * Bits 0-10 are the layout number
 | 
			
		||||
	 * Bits 11-16 are the size of the header.
 | 
			
		||||
	 * Bits 0-9 (10 bits) are the layout number (0-1023)
 | 
			
		||||
	 * Bits 10-15 (6 bits) are the size of the header (0-63)
 | 
			
		||||
	 * The hdrsize is the number * 8
 | 
			
		||||
	 *
 | 
			
		||||
	 * For example.
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user