From 1b439713f127db3ef5aad60aac63aad9b8384f6d Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Tue, 11 Jan 2011 11:54:21 -0800 Subject: [PATCH] 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. --- include/sys/vnode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sys/vnode.h b/include/sys/vnode.h index b5969b3520..ef5c592037 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