summaryrefslogtreecommitdiffstats
path: root/include/sys/vnode.h
diff options
context:
space:
mode:
authorbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>2008-03-20 23:30:15 +0000
committerbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>2008-03-20 23:30:15 +0000
commit4e62fd4104e968a4ee224117e266720f2ec7afbb (patch)
treedc12cc57762c129b02f0a64d7c54cd585111f3bf /include/sys/vnode.h
parente4f1d29f89b70a06197f86640c9544ffff07920b (diff)
OK, a first reasonable attempt at a solaris module/chdev shim layer.
This should handle the absolute minimum I need for ZFS. It will register the chdev with the right callbacks. Then the generic registered linux callback will find the right registered solaris callback for the function and munge the args just right before passing it on. Should work, but untested (just compiled), so I expect bugs. git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@52 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
Diffstat (limited to 'include/sys/vnode.h')
-rw-r--r--include/sys/vnode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/vnode.h b/include/sys/vnode.h
index 1b9c3b671..4ee7e7895 100644
--- a/include/sys/vnode.h
+++ b/include/sys/vnode.h
@@ -19,6 +19,7 @@ extern "C" {
#include <sys/types.h>
#include <sys/time.h>
#include <sys/uio.h>
+#include <sys/sunldi.h>
#define XVA_MAPSIZE 3
#define XVA_MAGIC 0x78766174