zfs/lib/libzutil
George Wilson 2d5622f5be
Importing from cachefile can trip assertion
When importing from cachefile, it is possible that the builtin retry
logic will trip an assertion because it also fails to find the pool.
This fix addresses that case and returns the correct error message to
the user.

Reviewed-by: Richard Yao <ryao@gentoo.org>
Reviewed-by: Serapheim Dimitropoulos <serapheim@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: George Wilson <gwilson@delphix.com>
Closes #13781
2022-08-26 14:04:27 -07:00
..
os Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
Makefile.am autoconf: use include directives instead of recursing down lib 2022-05-10 10:18:11 -07:00
zutil_device_path.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zutil_import.c Importing from cachefile can trip assertion 2022-08-26 14:04:27 -07:00
zutil_import.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zutil_nicenum.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zutil_pool.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00