From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: [PATCH] fix up O_SYNC comments Date: Thu, 17 Dec 2009 14:24:20 +0100 Message-ID: <20091217132420.GA24783@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org To: viro@zeniv.linux.org.uk Return-path: Received: from verein.lst.de ([213.95.11.210]:60912 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753742AbZLQNYW (ORCPT ); Thu, 17 Dec 2009 08:24:22 -0500 Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Proper Posix O_SYNC handling only made it into 2.6.33, not 2.6.32. Signed-off-by: Christoph Hellwig Index: linux-2.6/arch/alpha/include/asm/fcntl.h =================================================================== --- linux-2.6.orig/arch/alpha/include/asm/fcntl.h 2009-12-14 17:29:29.939003940 +0100 +++ linux-2.6/arch/alpha/include/asm/fcntl.h 2009-12-14 17:30:07.465024094 +0100 @@ -16,7 +16,7 @@ #define O_NOATIME 04000000 #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 * 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 Index: linux-2.6/arch/mips/include/asm/fcntl.h =================================================================== --- linux-2.6.orig/arch/mips/include/asm/fcntl.h 2009-12-14 17:29:29.952003711 +0100 +++ linux-2.6/arch/mips/include/asm/fcntl.h 2009-12-14 17:30:07.466023732 +0100 @@ -19,7 +19,7 @@ #define FASYNC 0x1000 /* fcntl, for BSD compatibility */ #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 * 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 Index: linux-2.6/arch/sparc/include/asm/fcntl.h =================================================================== --- linux-2.6.orig/arch/sparc/include/asm/fcntl.h 2009-12-14 17:29:29.962003937 +0100 +++ linux-2.6/arch/sparc/include/asm/fcntl.h 2009-12-14 17:30:07.466023732 +0100 @@ -19,7 +19,7 @@ #define O_NOATIME 0x200000 #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 * 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 Index: linux-2.6/include/asm-generic/fcntl.h =================================================================== --- linux-2.6.orig/include/asm-generic/fcntl.h 2009-12-14 17:29:29.922004079 +0100 +++ linux-2.6/include/asm-generic/fcntl.h 2009-12-14 17:30:07.469294959 +0100 @@ -51,7 +51,7 @@ #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 * 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