* [RFC PATCH] fcntl header: drop duplicate O_NDELAY
@ 2019-04-03 6:03 Cao jin
0 siblings, 0 replies; only message in thread
From: Cao jin @ 2019-04-03 6:03 UTC (permalink / raw)
To: jlayton, bfields; +Cc: linux-fsdevel, linux-kernel
drop it from VALID_OPEN_FLAGS.
Signed-off-by: Cao jin <caoj.fnst@cn.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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-04-03 6:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-03 6:03 [RFC PATCH] fcntl header: drop duplicate O_NDELAY Cao jin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).