summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2014-12-06 00:17:25 +0000
committerdelphij <delphij@FreeBSD.org>2014-12-06 00:17:25 +0000
commitb623d1affc1c8bb6e723d37b812821ab65063c47 (patch)
tree2d6bc28f7cd8c954b258198ee1e386e01270c584
parent9055d7da79aac6ecbd4c990c44125e94d980fdf9 (diff)
downloadFreeBSD-src-b623d1affc1c8bb6e723d37b812821ab65063c47.zip
FreeBSD-src-b623d1affc1c8bb6e723d37b812821ab65063c47.tar.gz
5312 libzfs should be decoupled from kernel's zfs_context.h
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Will Andrews <willa@spectralogic.com> Reviewed by: Andriy Gapon <avg@FreeBSD.org> Approved by: Dan McDonald <danmcd@omniti.com> Author: Justin T. Gibbs <justing@spectralogic.com> illumos/illumos-gate@587644a8567e6a9533f88401daa59cbd78c4632f
-rw-r--r--lib/libzfs/common/sys/zfs_context.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/lib/libzfs/common/sys/zfs_context.h b/lib/libzfs/common/sys/zfs_context.h
new file mode 100644
index 0000000..a2c69f0
--- /dev/null
+++ b/lib/libzfs/common/sys/zfs_context.h
@@ -0,0 +1,37 @@
+/*
+ * CDDL HEADER START
+ *
+ * This file and its contents are supplied under the terms of the
+ * Common Development and Distribution License ("CDDL"), version 1.0.
+ * You may only use this file in accordance with the terms of version
+ * 1.0 of the CDDL.
+ *
+ * A full copy of the text of the CDDL should have accompanied this
+ * source. A copy of the CDDL is also available via the Internet at
+ * http://www.illumos.org/license/CDDL.
+ *
+ * CDDL HEADER END
+ */
+/*
+ * Copyright 2014 Spectra Logic Corporation. All rights reserved.
+ */
+
+#ifndef _SYS_ZFS_CONTEXT_H
+#define _SYS_ZFS_CONTEXT_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <sys/stat.h>
+#include <sys/taskq.h>
+#include <sys/taskq_impl.h>
+#include <sys/debug.h>
+#include <sys/list.h>
+#include <sys/zfs_debug.h>
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _SYS_ZFS_CONTEXT_H */
OpenPOWER on IntegriCloud