Commit 76b7e005 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Al Viro

fix up O_SYNC comments

Proper Posix O_SYNC handling only made it into 2.6.33, not 2.6.32.
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 1b8ab815
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#define O_NOATIME 04000000 #define O_NOATIME 04000000
#define O_CLOEXEC 010000000 /* set close_on_exec */ #define O_CLOEXEC 010000000 /* set close_on_exec */
/* /*
* Before Linux 2.6.32 only O_DSYNC semantics were implemented, but using * Before Linux 2.6.33 only O_DSYNC semantics were implemented, but using
* the O_SYNC flag. We continue to use the existing numerical value * the O_SYNC flag. We continue to use the existing numerical value
* for O_DSYNC semantics now, but using the correct symbolic name for it. * for O_DSYNC semantics now, but using the correct symbolic name for it.
* This new value is used to request true Posix O_SYNC semantics. It is * This new value is used to request true Posix O_SYNC semantics. It is
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#define FASYNC 0x1000 /* fcntl, for BSD compatibility */ #define FASYNC 0x1000 /* fcntl, for BSD compatibility */
#define O_LARGEFILE 0x2000 /* allow large file opens */ #define O_LARGEFILE 0x2000 /* allow large file opens */
/* /*
* Before Linux 2.6.32 only O_DSYNC semantics were implemented, but using * Before Linux 2.6.33 only O_DSYNC semantics were implemented, but using
* the O_SYNC flag. We continue to use the existing numerical value * the O_SYNC flag. We continue to use the existing numerical value
* for O_DSYNC semantics now, but using the correct symbolic name for it. * for O_DSYNC semantics now, but using the correct symbolic name for it.
* This new value is used to request true Posix O_SYNC semantics. It is * This new value is used to request true Posix O_SYNC semantics. It is
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#define O_NOATIME 0x200000 #define O_NOATIME 0x200000
#define O_CLOEXEC 0x400000 #define O_CLOEXEC 0x400000
/* /*
* Before Linux 2.6.32 only O_DSYNC semantics were implemented, but using * Before Linux 2.6.33 only O_DSYNC semantics were implemented, but using
* the O_SYNC flag. We continue to use the existing numerical value * the O_SYNC flag. We continue to use the existing numerical value
* for O_DSYNC semantics now, but using the correct symbolic name for it. * for O_DSYNC semantics now, but using the correct symbolic name for it.
* This new value is used to request true Posix O_SYNC semantics. It is * This new value is used to request true Posix O_SYNC semantics. It is
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
#endif #endif
/* /*
* Before Linux 2.6.32 only O_DSYNC semantics were implemented, but using * Before Linux 2.6.33 only O_DSYNC semantics were implemented, but using
* the O_SYNC flag. We continue to use the existing numerical value * the O_SYNC flag. We continue to use the existing numerical value
* for O_DSYNC semantics now, but using the correct symbolic name for it. * for O_DSYNC semantics now, but using the correct symbolic name for it.
* This new value is used to request true Posix O_SYNC semantics. It is * This new value is used to request true Posix O_SYNC semantics. It is
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment