summaryrefslogtreecommitdiffstats
path: root/include/sys
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2011-01-11 11:54:21 -0800
committerBrian Behlendorf <[email protected]>2011-01-12 11:38:04 -0800
commit1b439713f127db3ef5aad60aac63aad9b8384f6d (patch)
tree47d52ee66214feb9ac7881bbce30f7e98c7240a8 /include/sys
parent4295b530eeb68aaacbbeb5b2197ed14bf9295c2b (diff)
FRSYNC Should Use O_SYNC
The Solaris FRSYNC maps most logically to the Linux O_SYNC. There is no O_RSYNC on Linux but this wasn't noticed until just recently.
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/vnode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/vnode.h b/include/sys/vnode.h
index b5969b352..ef5c59203 100644
--- a/include/sys/vnode.h
+++ b/include/sys/vnode.h
@@ -61,7 +61,7 @@
#define FOFFMAX O_LARGEFILE
#define FSYNC O_SYNC
#define FDSYNC O_DSYNC
-#define FRSYNC O_RSYNC
+#define FRSYNC O_SYNC
#define FEXCL O_EXCL
#define FDIRECT O_DIRECT
#define FAPPEND O_APPEND