summaryrefslogtreecommitdiffstats
path: root/sys/sys/file.h
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2012-12-23 22:43:27 +0000
committerkib <kib@FreeBSD.org>2012-12-23 22:43:27 +0000
commitc6bad3bef79216ab7313dba42827d02cecb65b47 (patch)
tree91718c036281468c475132b2be95a4490ccbd71a /sys/sys/file.h
parent59cd15065c1301153ea8bfc71730fbf51f2d7e43 (diff)
downloadFreeBSD-src-c6bad3bef79216ab7313dba42827d02cecb65b47.zip
FreeBSD-src-c6bad3bef79216ab7313dba42827d02cecb65b47.tar.gz
Do not force a writer to the devfs file to drain the buffer writes.
Requested and tested by: Ian Lepore <freebsd@damnhippie.dyndns.org> MFC after: 2 weeks
Diffstat (limited to 'sys/sys/file.h')
-rw-r--r--sys/sys/file.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/file.h b/sys/sys/file.h
index dc49895..cf5f1ea 100644
--- a/sys/sys/file.h
+++ b/sys/sys/file.h
@@ -178,7 +178,8 @@ struct file {
#define f_advice f_vnun.fvn_advice
#define FOFFSET_LOCKED 0x1
-#define FOFFSET_LOCK_WAITING 0x2
+#define FOFFSET_LOCK_WAITING 0x2
+#define FDEVFS_VNODE 0x4
#endif /* _KERNEL || _WANT_FILE */
OpenPOWER on IntegriCloud