Files
mirror_zfs/module
George Amanakis 34e5423f83 Fix dnode byteswapping
If a dnode has a spill pointer, and we use DN_SLOTS_TO_BONUSLEN() then
we will possibly include the spill pointer in the len calculation and it
will be byteswapped. Then dnode_byteswap() will carry on and swap the
spill pointer again. Fix this by using DN_MAX_BONUS_LEN() instead.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: George Amanakis <gamanakis@gmail.com>
Closes #13002 
Closes #13015
2022-06-29 17:06:16 -07:00
..
2022-06-29 14:08:54 -07:00
2022-06-29 14:08:59 -07:00
2022-06-29 14:08:59 -07:00
2022-06-29 14:08:54 -07:00
2022-06-29 17:06:16 -07:00
2022-05-24 09:43:22 -07:00
2020-06-10 09:24:15 -07:00