Page MenuHomeFreeBSD

D46479.id142600.diff
No OneTemporary

D46479.id142600.diff

diff --git a/cddl/usr.sbin/zfsd/tests/zfsd_unittest.cc b/cddl/usr.sbin/zfsd/tests/zfsd_unittest.cc
--- a/cddl/usr.sbin/zfsd/tests/zfsd_unittest.cc
+++ b/cddl/usr.sbin/zfsd/tests/zfsd_unittest.cc
@@ -76,12 +76,15 @@
using DevdCtl::NVPairMap;
/* redefine zpool_handle here because libzfs_impl.h is not includable */
+#define ZHP_MAX_PROPNAMES 4
struct zpool_handle
{
libzfs_handle_t *zpool_hdl;
zpool_handle_t *zpool_next;
char zpool_name[ZFS_MAX_DATASET_NAME_LEN];
int zpool_state;
+ unsigned int zpool_n_propnames;
+ const char *zpool_propnames[ZHP_MAX_PROPNAMES];
size_t zpool_config_size;
nvlist_t *zpool_config;
nvlist_t *zpool_old_config;

File Metadata

Mime Type
text/plain
Expires
Mon, Feb 9, 1:29 AM (8 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28521175
Default Alt Text
D46479.id142600.diff (734 B)

Event Timeline