From: Brian Behlendorf Date: Tue, 11 Jan 2011 19:54:21 +0000 (-0800) Subject: FRSYNC Should Use O_SYNC X-Git-Tag: spl-0.6.0-rc1~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1b439713f127db3ef5aad60aac63aad9b8384f6d;p=spl 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. --- diff --git a/include/sys/vnode.h b/include/sys/vnode.h index b5969b3..ef5c592 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