mirror_zfs/module/os/freebsd
Ryan Moeller 9a0ef216e5 zvol_os: Properly ignore error in volmode lookup
We fall back to a default volmode and continue when looking up a zvol's
volmode property fails.  After this we should set the error to 0 to
ensure we take the success paths in the out section.

While here, make sure we only log that the zvol was created on success.

Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Matt Macy <mmacy@FreeBSD.org>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #11117
2020-10-30 15:34:36 -07:00
..
spl FreeBSD: Skip RAW kstat sysctls by default 2020-10-26 14:34:28 -07:00
zfs zvol_os: Properly ignore error in volmode lookup 2020-10-30 15:34:36 -07:00