FreeBSD/src c527e92 (r355736)stand/libsa/zfs zfsimpl.c

zfs boot: fix a crash in a rarely taken path in fzap_lookup

Instead of passing NULL to fzap_name_equal and crashing, just return
ENOENT.  This happened when higher bits of a hash of the searched key
(its hash prefix) matched a hash prefix of some key in the ZAP, but the
full hash value of the searched key did not match any key in the ZAP.

I observerved this problem when loader tried to look up
"features_for_read" in a particular old pool that predates pool
features.

MFC after:      2 weeks
Sponsored by:   Panzura
DeltaFile
+2-4stand/libsa/zfs/zfsimpl.c
+2-41 files

UnifiedSplitRaw