]> git.ipfire.org Git - thirdparty/grub.git/commit
ZFS: Check bonustype in addition to dnode type
authorVladimir Serbinenko <phcoder@gmail.com>
Thu, 6 Jul 2023 15:16:00 +0000 (17:16 +0200)
committerVladimir Serbinenko <phcoder@gmail.com>
Mon, 18 Sep 2023 00:44:35 +0000 (02:44 +0200)
commit7ce5b4911005b2a0bfd716d92466b6711844068c
treea5b2f03121c441e2e28ea9777247b41501db8594
parent444089eec6042250ce3a7184cb09bd8a2ab16808
ZFS: Check bonustype in addition to dnode type

Some dnodes are shared with properties zap. This is used
e.g. for quotas. Then dnode type is 0xc4 and GRUB stumbles on
this. Check bonus type and if it's ok then ignore dnode type mismatch

Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/fs/zfs/zfs.c