mirror_zfs/lib
Ryan Moeller 659f4008be
libzfs: Make zfs_cmd_t initialization consistent, use zfs_ioctl
The clang version 8.0.1 shipped in FreeBSD 12.1-RELEASE also oddly
throws a warning that is treated as an error on the initialization of
the zc struct in zpool_nextboot.

The zpool_nextboot code from FreeBSD was not updated to use zfs_ioctl.

Switch ioctl to zfs_ioctl in and use {"\0"} to initialize the struct.
Do a consistency pass for zfs_cmd_t initialization.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Wilson <gwilson@delphix.com>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #10539
2020-07-09 17:47:12 -07:00
..
libavl Fixes for make dist 2020-06-26 14:20:02 -07:00
libefi Fixes for make dist 2020-06-26 14:20:02 -07:00
libicp ICP: Improve AES-GCM performance 2020-02-10 12:59:50 -08:00
libnvpair Fixes for make dist 2020-06-26 14:20:02 -07:00
libshare Fixes for make dist 2020-06-26 14:20:02 -07:00
libspl Add zpool_nextboot, move zfs_jail to libzfs.h 2020-07-06 11:57:24 -07:00
libtpool Fixes for make dist 2020-06-26 14:20:02 -07:00
libunicode Fixes for make dist 2020-06-26 14:20:02 -07:00
libuutil Fixes for make dist 2020-06-26 14:20:02 -07:00
libzfs libzfs: Make zfs_cmd_t initialization consistent, use zfs_ioctl 2020-07-09 17:47:12 -07:00
libzfs_core libzfs: Make zfs_cmd_t initialization consistent, use zfs_ioctl 2020-07-09 17:47:12 -07:00
libzpool Add device rebuild feature 2020-07-03 11:05:50 -07:00
libzutil Fixes for make dist 2020-06-26 14:20:02 -07:00
Makefile.am Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00