mirror_zfs/module/os/freebsd
Ryan Moeller c2c643256c 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 16:06:42 -07:00
..
spl FreeBSD: Skip RAW kstat sysctls by default 2020-10-30 16:03:22 -07:00
zfs zvol_os: Properly ignore error in volmode lookup 2020-10-30 16:06:42 -07:00