summaryrefslogtreecommitdiffstats
path: root/sys/fs/ntfs/ntfs_inode.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-11-26 23:45:12 +0000
committerjhb <jhb@FreeBSD.org>2001-11-26 23:45:12 +0000
commit8698e45aa6fbe0c7fd2a90ae8256861b6be2de9b (patch)
treecc35821e407f5e488c3289ca14822d7fae38d031 /sys/fs/ntfs/ntfs_inode.h
parentd7f0a44ce0783613819e92329504ab0cb10e543c (diff)
downloadFreeBSD-src-8698e45aa6fbe0c7fd2a90ae8256861b6be2de9b.zip
FreeBSD-src-8698e45aa6fbe0c7fd2a90ae8256861b6be2de9b.tar.gz
GC non-FreeBSD code that didn't work anyways.
Diffstat (limited to 'sys/fs/ntfs/ntfs_inode.h')
-rw-r--r--sys/fs/ntfs/ntfs_inode.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/sys/fs/ntfs/ntfs_inode.h b/sys/fs/ntfs/ntfs_inode.h
index a865276..84cde59 100644
--- a/sys/fs/ntfs/ntfs_inode.h
+++ b/sys/fs/ntfs/ntfs_inode.h
@@ -29,7 +29,6 @@
*/
/* These flags are kept in i_flag. */
-#if defined(__FreeBSD__)
#define IN_ACCESS 0x0001 /* Access time update request. */
#define IN_CHANGE 0x0002 /* Inode change time update request. */
#define IN_UPDATE 0x0004 /* Modification time update request. */
@@ -38,20 +37,6 @@
#define IN_SHLOCK 0x0020 /* File has shared lock. */
#define IN_EXLOCK 0x0040 /* File has exclusive lock. */
#define IN_LAZYMOD 0x0080 /* Modified, but don't write yet. */
-#else /* defined(__NetBSD__) */
-#define IN_ACCESS 0x0001 /* Access time update request. */
-#define IN_CHANGE 0x0002 /* Inode change time update request. */
-#define IN_EXLOCK 0x0004 /* File has exclusive lock. */
-#define IN_LOCKED 0x0008 /* Inode lock. */
-#define IN_LWAIT 0x0010 /* Process waiting on file lock. */
-#define IN_MODIFIED 0x0020 /* Inode has been modified. */
-#define IN_RENAME 0x0040 /* Inode is being renamed. */
-#define IN_SHLOCK 0x0080 /* File has shared lock. */
-#define IN_UPDATE 0x0100 /* Modification time update request. */
-#define IN_WANTED 0x0200 /* Inode is wanted by a process. */
-#define IN_RECURSE 0x0400 /* Recursion expected */
-#endif
-
#define IN_HASHED 0x0800 /* Inode is on hash list */
#define IN_LOADED 0x8000 /* ntvattrs loaded */
#define IN_PRELOADED 0x4000 /* loaded from directory entry */
@@ -84,9 +69,7 @@ struct ntnode {
#define FN_VALID 0x0002
#define FN_AATTRNAME 0x0004 /* space allocated for f_attrname */
struct fnode {
-#ifdef __FreeBSD__
struct lock f_lock; /* fnode lock >Keep this first< */
-#endif
LIST_ENTRY(fnode) f_fnlist;
struct vnode *f_vp; /* Associatied vnode */
OpenPOWER on IntegriCloud