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 |
||
---|---|---|
.. | ||
devicename_stubs.c | ||
libzfs.h | ||
Makefile.inc | ||
zfs.c | ||
zfsimpl.c |