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:
Rob Norris 2024-09-18 06:53:39 +10:00 committed by GitHub
parent 90af1e83e8
commit ec0209418f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.