mirror_zfs/module
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
..
avl Links in Source Files 2020-09-03 16:17:18 -07:00
icp ICP: gcm: Allocate hash subkey table separately 2020-10-30 16:06:09 -07:00
lua Use known license string for zlua 2020-10-30 16:03:37 -07:00
nvpair Links in Source Files 2020-09-03 16:17:18 -07:00
os zvol_os: Properly ignore error in volmode lookup 2020-10-30 16:06:42 -07:00
spl Cleanup linux module kbuild files 2020-06-10 09:24:15 -07:00
unicode Throw const on some strings 2020-10-16 12:55:56 -07:00
zcommon Update references to nonexistent man pages in code 2020-10-30 16:04:41 -07:00
zfs Yield periodically when rebuilding L2ARC 2020-10-30 16:04:53 -07:00
zstd zstd: track allocator statistics 2020-10-30 16:06:15 -07:00
.gitignore Cleanup linux module kbuild files 2020-06-10 09:24:15 -07:00
Kbuild.in Add zstd support to zfs 2020-08-20 10:30:06 -07:00
Makefile.bsd Makefile.bsd: remove directory that no longer exists 2020-10-30 15:57:46 -07:00
Makefile.in Fix Linux modules uninstall 2020-10-16 13:01:14 -07:00