HomeFreeBSD

Prevent bogus compiler in ZFS boot code

Description

Prevent bogus compiler in ZFS boot code

Silence a bogus compiler warning about indexing past the end of dn_bonus.

The ZFS code ensures this is not possible but the compiler can't determine
this so added an additional check to prevent this warning.

Sponsored by: Multiplay

Details

Provenance
smhAuthored on
Parents
rS294039: Commit todays patch queue.
Branches
Unknown
Tags
Unknown