summaryrefslogtreecommitdiffstats
path: root/include/sys/sysmacros.h
diff options
context:
space:
mode:
authorbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>2008-03-12 20:52:46 +0000
committerbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>2008-03-12 20:52:46 +0000
commit4b17158506d5f3bb7e71111f5b6287f19bf20190 (patch)
tree0c3c3a02b5bed142069e2b73cbe4372cb3d7b4f5 /include/sys/sysmacros.h
parent9490c148359332d797e4fc250812bd7a5fd131b1 (diff)
- Implemented vnode interfaces and 6 test cases to the test suite.
- Re-implmented kobj support based on the vnode support. - Add TESTS option to check.sh, and removed delay after module load. git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@39 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
Diffstat (limited to 'include/sys/sysmacros.h')
-rw-r--r--include/sys/sysmacros.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/sys/sysmacros.h b/include/sys/sysmacros.h
index 218f59567..076f26784 100644
--- a/include/sys/sysmacros.h
+++ b/include/sys/sysmacros.h
@@ -56,21 +56,6 @@ extern "C" {
#define NICE_TO_PRIO(nice) (MAX_RT_PRIO + (nice) + 20)
#define PRIO_TO_NICE(prio) ((prio) - MAX_RT_PRIO - 20)
-#define kred NULL
-
-#define FREAD 1
-#define FWRITE 2
-#define FCREAT O_CREAT
-#define FTRUNC O_TRUNC
-#define FOFFMAX O_LARGEFILE
-#define FSYNC O_SYNC
-#define FDSYNC O_DSYNC
-#define FRSYNC O_RSYNC
-#define FEXCL O_EXCL
-
-#define FNODSYNC 0x10000 /* fsync pseudo flag */
-#define FNOFOLLOW 0x20000 /* don't follow symlinks */
-
/* Missing macros
*/
#define PAGESIZE PAGE_SIZE
@@ -136,7 +121,6 @@ extern int highbit(unsigned long i);
#define zone_dataset_visible(x, y) (1)
#define INGLOBALZONE(z) (1)
-/* XXX - Borrowed from zfs project libsolcompat/include/sys/sysmacros.h */
/* common macros */
#ifndef MIN
#define MIN(a, b) ((a) < (b) ? (a) : (b))