Skip to content

Commit

Permalink
5312 libzfs should be decoupled from kernel's zfs_context.h
Browse files Browse the repository at this point in the history
Reviewed by: Matthew Ahrens <[email protected]>
Reviewed by: Will Andrews <[email protected]>
Reviewed by: Andriy Gapon <[email protected]>
Approved by: Dan McDonald <[email protected]>
  • Loading branch information
Justin T. Gibbs authored and Christopher Siden committed Nov 23, 2014
1 parent 1e9bd7e commit 587644a
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 587644a

Please sign in to comment.