mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
OpenZFS restructuring - zfs_ioctl
Refactor the zfs ioctls in to platform dependent and independent bits. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Sean Eric Fagan <sef@ixsystems.com> Signed-off-by: Matthew Macy <mmacy@FreeBSD.org> Signed-off-by: Ryan Moeller <ryan@ixsystems.com> Closes #9301
This commit is contained in:
committed by
Brian Behlendorf
parent
3768db24ab
commit
7bb0c29468
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user