diff options
author | Matthew Macy <[email protected]> | 2019-09-27 10:46:28 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-09-27 10:46:28 -0700 |
commit | 7bb0c294688ed121477536d7b4a7031c78a5706a (patch) | |
tree | e3e78a38a6139bcd32c57d4a67ae08fcb5552a1c /tests | |
parent | 3768db24abe09f964a976945faeb805214817626 (diff) |
OpenZFS restructuring - zfs_ioctl
Refactor the zfs ioctls in to platform dependent and independent bits.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Sean Eric Fagan <[email protected]>
Signed-off-by: Matthew Macy <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #9301
Diffstat (limited to 'tests')
-rw-r--r-- | tests/zfs-tests/cmd/libzfs_input_check/libzfs_input_check.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/zfs-tests/cmd/libzfs_input_check/libzfs_input_check.c b/tests/zfs-tests/cmd/libzfs_input_check/libzfs_input_check.c index d47954e2b..f3392dc17 100644 --- a/tests/zfs-tests/cmd/libzfs_input_check/libzfs_input_check.c +++ b/tests/zfs-tests/cmd/libzfs_input_check/libzfs_input_check.c @@ -272,13 +272,13 @@ test_pool_sync(const char *pool) static void test_pool_reopen(const char *pool) { - nvlist_t *required = fnvlist_alloc(); + nvlist_t *optional = fnvlist_alloc(); - fnvlist_add_boolean_value(required, "scrub_restart", B_FALSE); + fnvlist_add_boolean_value(optional, "scrub_restart", B_FALSE); - IOC_INPUT_TEST(ZFS_IOC_POOL_REOPEN, pool, required, NULL, 0); + IOC_INPUT_TEST(ZFS_IOC_POOL_REOPEN, pool, NULL, optional, 0); - nvlist_free(required); + nvlist_free(optional); } static void |