summaryrefslogtreecommitdiffstats
path: root/fs/hfs
diff options
context:
space:
mode:
authorKrzysztof Wilczyński <kw@linux.com>2020-09-06 22:39:49 +0000
committerAl Viro <viro@zeniv.linux.org.uk>2020-09-16 19:27:43 -0400
commitaabf59432c51be174994ecfe280f75ac139b5550 (patch)
tree98966c1ff7e9753e42383fd5601777044dc22b43 /fs/hfs
parent8ec90bfd1aeb39f44c3e704aaa9ca88c52e6866a (diff)
downloadlinux-aabf59432c51be174994ecfe280f75ac139b5550.tar.gz
linux-aabf59432c51be174994ecfe280f75ac139b5550.tar.bz2
linux-aabf59432c51be174994ecfe280f75ac139b5550.zip
fs: Remove duplicated flag O_NDELAY occurring twice in VALID_OPEN_FLAGS
The O_NDELAY flag occurs twice in the VALID_OPEN_FLAGS definition, this change removes the duplicate. There is no change to the functionality. Note, that the flags O_NONBLOCK and O_NDELAY are not duplicates, as values of these flags are platform dependent, and on platforms like Sparc O_NONBLOCK and O_NDELAY are not the same. This has been done that way to maintain the ABI compatibility with Solaris since the Sparc port was first introduced. This change resolves the following Coccinelle warning: include/linux/fcntl.h:11:13-21: duplicated argument to & or | Signed-off-by: Krzysztof Wilczyński <kw@linux.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/hfs')
0 files changed, 0 insertions, 0 deletions