Searched hist:"2 f700ca965a04c4a03b6f760da6a210b6ca4df4b" (Results 1 – 1 of 1) sorted by relevance
/freebsd/lib/libbe/ |
H A D | be.c | diff 2f700ca965a04c4a03b6f760da6a210b6ca4df4b Fri Jul 07 02:41:14 CEST 2023 Kyle Evans <kevans@FreeBSD.org> libbe: bail out early if the zfs kmod isn't loaded
As noted in the comment, we already know the rest of libbe_init() will fail because there's no pool imported. Avoid the side effect by checking beforehand and bailing out early.
With this, freebsd-update(8) should no longer trigger a load of the zfs kmod just because it runs `bectl check`.
Reviewed by: jwmaag_gmail.com, rew Differential Revision: https://reviews.freebsd.org/D36188
|