From 65923b99f9193bdf815c9b306029d6c72f283ca8 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Tue, 6 Jan 2009 12:32:44 -0800 Subject: [PATCH] Update to use DS_MODE_USER not removed DS_MODE_STANDARD --- configure.ac | 1 + module/zpios/zpios.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index b9280718ba..e9c6ba3552 100644 --- a/configure.ac +++ b/configure.ac @@ -93,5 +93,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);