diff --git a/configure.ac b/configure.ac index 33472c014a..b864b6e5de 100644 --- a/configure.ac +++ b/configure.ac @@ -94,5 +94,6 @@ AC_CONFIG_FILES([ module/zcommon/include/sys/fm/fs/Makefile module/zfs/Makefile module/zpios/Makefile + module/zpios/include/Makefile ]) AC_OUTPUT diff --git a/module/zpios/zpios.c b/module/zpios/zpios.c index 2ba81860ee..94065eb27f 100644 --- a/module/zpios/zpios.c +++ b/module/zpios/zpios.c @@ -176,7 +176,7 @@ kpios_dmu_setup(run_args_t *run_args) t->start = current_kernel_time(); - rc = dmu_objset_open(run_args->pool, DMU_OST_ZFS, DS_MODE_STANDARD, &os); + rc = dmu_objset_open(run_args->pool, DMU_OST_ZFS, DS_MODE_USER, &os); if (rc) { kpios_print(run_args->file, "Error dmu_objset_open() " "failed: %d\n", rc);