fs: add a VALID_OPEN_FLAGS
authorChristoph Hellwig <hch@lst.de>
Thu, 27 Apr 2017 07:42:24 +0000 (09:42 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 27 Apr 2017 09:13:04 +0000 (05:13 -0400)
commit80f18379a7c350c011d30332658aa15fe49a8fa5
treee458fc2380de4545f8e94608e3c77635d334c053
parent020c2833dbc76b4069c9a9886b71511052d160df
fs: add a VALID_OPEN_FLAGS

Add a central define for all valid open flags, and use it in the uniqueness
check.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/fcntl.c
include/linux/fcntl.h