Skip to content

Commit

Permalink
OpenZFS 5312 - libzfs should be decoupled from kernel's zfs_context.h
Browse files Browse the repository at this point in the history
Authored by: Justin T. Gibbs <[email protected]>
Reviewed by: - Matthew Ahrens <[email protected]>
Reviewed by: - Will Andrews <[email protected]>
Reviewed by: - Andriy Gapon <[email protected]>
Approved by: - Dan McDonald <[email protected]>

Ported-by: George Melikov <[email protected]>

OpenZFS-issue: https://www.illumos.org/issues/5312
OpenZFS-commit: openzfs/openzfs@587644a
  • Loading branch information
Justin T. Gibbs authored and gmelikov committed Jan 25, 2017
1 parent 935550f commit df3e48b
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions usr/src/lib/libzfs/common/sys/zfs_context.h
Original file line number Diff line number Diff line change
@@ -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 */

0 comments on commit df3e48b

Please sign in to comment.