[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20190403060337.9765-1-caoj.fnst@cn.fujitsu.com>
Date: Wed, 3 Apr 2019 14:03:37 +0800
From: Cao jin <caoj.fnst@...fujitsu.com>
To: <jlayton@...nel.org>, <bfields@...ldses.org>
CC: <linux-fsdevel@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: [RFC PATCH] fcntl header: drop duplicate O_NDELAY
drop it from VALID_OPEN_FLAGS.
Signed-off-by: Cao jin <caoj.fnst@...fujitsu.com>
---
include/linux/fcntl.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/fcntl.h b/include/linux/fcntl.h
index d019df946cb2..8a2ca434be6d 100644
--- a/include/linux/fcntl.h
+++ b/include/linux/fcntl.h
@@ -6,8 +6,8 @@
/* list of all valid flags for the open/openat flags argument: */
#define VALID_OPEN_FLAGS \
- (O_RDONLY | O_WRONLY | O_RDWR | O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC | \
- O_APPEND | O_NDELAY | O_NONBLOCK | O_NDELAY | __O_SYNC | O_DSYNC | \
+ (O_RDONLY | O_WRONLY | O_RDWR | O_CREAT | O_EXCL | O_NOCTTY | \
+ O_TRUNC | O_APPEND | O_NDELAY | O_NONBLOCK | __O_SYNC | O_DSYNC | \
FASYNC | O_DIRECT | O_LARGEFILE | O_DIRECTORY | O_NOFOLLOW | \
O_NOATIME | O_CLOEXEC | O_PATH | __O_TMPFILE)
--
2.17.2
Powered by blists - more mailing lists