Andriy Gapon c527e92004 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
2019-12-13 22:04:13 +00:00
..
2019-06-25 04:50:09 +00:00
2018-04-27 22:15:18 +00:00
2019-12-11 17:37:53 +00:00
2019-02-26 06:22:10 +00:00
2019-12-11 17:37:53 +00:00
2019-02-26 06:22:10 +00:00
2018-08-15 11:39:13 +00:00
2019-05-24 19:43:38 +00:00
2018-07-08 07:42:49 +00:00
2017-12-02 00:06:58 +00:00