This website requires JavaScript.
Explore
Help
Register
Sign In
Archive-Team
/
zfs
Watch
2
Star
0
Fork
You've already forked zfs
0
Code
Issues
Pull Requests
Packages
Projects
Releases
103
Wiki
Activity
5e9b5d832b
zfs
/
include
/
sys
/
file.h
7 lines
94 B
C
Raw
Normal View
History
Unescape
Escape
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
2008-03-20 23:30:15 +00:00
#
ifndef _SPL_FILE_H
#
define _SPL_FILE_H
Define FKIOCTL which is used on Solaris to mark an in-kernel ioctl.
2009-07-09 21:59:41 +00:00
#
define FKIOCTL 0x80000000
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
2008-03-20 23:30:15 +00:00
#
endif
/* SPL_FILE_H */