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.
This commit is contained in:
Brian Behlendorf 2011-01-11 11:54:21 -08:00
parent 4295b530ee
commit 1b439713f1
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@
#define FOFFMAX O_LARGEFILE #define FOFFMAX O_LARGEFILE
#define FSYNC O_SYNC #define FSYNC O_SYNC
#define FDSYNC O_DSYNC #define FDSYNC O_DSYNC
#define FRSYNC O_RSYNC #define FRSYNC O_SYNC
#define FEXCL O_EXCL #define FEXCL O_EXCL
#define FDIRECT O_DIRECT #define FDIRECT O_DIRECT
#define FAPPEND O_APPEND #define FAPPEND O_APPEND