Files
mirror_zfs/module/zfs
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-02-15 08:58:59 -08:00
2022-03-15 15:13:42 -07:00
2022-06-29 14:08:59 -07:00
2022-03-15 15:13:42 -07:00
2019-07-26 10:54:14 -07:00
2022-03-15 15:13:42 -07:00
2019-06-19 09:48:12 -07:00
2022-06-24 13:55:58 -07:00
2022-06-29 14:08:54 -07:00
2022-03-15 15:13:42 -07:00
2022-06-29 14:08:54 -07:00
2022-06-29 14:08:54 -07:00
2022-06-29 14:08:54 -07:00
2022-06-29 14:08:59 -07:00
2022-03-15 15:13:42 -07:00
2022-05-24 09:46:35 -07:00
2022-06-29 14:08:54 -07:00
2022-03-15 15:13:42 -07:00
2022-06-29 17:06:16 -07:00
2022-06-29 14:08:54 -07:00
2022-03-15 15:13:42 -07:00
2022-06-29 14:08:59 -07:00
2022-06-29 14:08:54 -07:00
2022-06-29 14:08:59 -07:00
2022-06-29 14:08:54 -07:00
2022-03-15 15:13:42 -07:00
2022-01-14 15:37:55 -08:00
2022-03-15 15:13:42 -07:00
2022-01-07 10:36:49 -08:00
2022-01-12 16:14:36 -08:00
2022-06-29 14:08:59 -07:00
2022-06-29 14:08:54 -07:00
2022-01-26 11:38:52 -08:00
2019-06-19 09:48:12 -07:00
2022-06-29 14:08:54 -07:00
2022-06-29 14:08:59 -07:00
2022-03-15 15:13:42 -07:00
2020-06-18 12:21:25 -07:00
2022-06-29 14:08:54 -07:00
2022-06-29 14:08:54 -07:00
2022-02-18 09:34:03 -08:00
2022-06-29 14:08:59 -07:00
2022-05-18 10:25:33 -07:00
2022-06-29 14:08:54 -07:00
2019-10-09 10:36:03 -07:00
2022-01-26 11:38:52 -08:00
2022-03-15 15:13:42 -07:00
2022-03-15 15:13:42 -07:00
2022-01-26 11:38:52 -08:00
2022-06-29 14:08:54 -07:00
2022-06-23 10:36:28 -07:00
2022-06-29 14:08:54 -07:00
2022-06-29 14:08:54 -07:00
2020-11-13 13:51:51 -08:00
2022-06-29 14:08:59 -07:00
2022-03-15 15:13:42 -07:00
2022-06-29 14:08:59 -07:00
2022-06-29 14:08:59 -07:00
2022-02-18 09:34:03 -08:00
2022-03-15 15:13:42 -07:00
2022-06-29 14:08:54 -07:00
2022-03-15 15:13:42 -07:00
2022-03-15 15:13:42 -07:00
2022-06-29 14:08:54 -07:00
2022-06-29 14:08:54 -07:00
2022-06-29 14:08:54 -07:00
2022-06-29 14:08:59 -07:00
2020-06-18 12:21:25 -07:00
2020-06-18 12:21:18 -07:00