vfs: take O_NONBLOCK out of the O_* uniqueness test
authorJames Bottomley <James.Bottomley@suse.de>
Thu, 9 Sep 2010 23:38:12 +0000 (16:38 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 10 Sep 2010 01:57:25 +0000 (18:57 -0700)
commit3ab04d5cf9736b7a4e9dfcf28285d8663b01aa0e
tree1e8a52d0c2592d6d4a14d988dbf55331cc07fd24
parent3399446632739fcd05fd8b272b476a69c6e6d14a
vfs: take O_NONBLOCK out of the O_* uniqueness test

O_NONBLOCK on parisc has a dual value:

#define O_NONBLOCK 000200004 /* HPUX has separate NDELAY & NONBLOCK */

It is caught by the O_* bits uniqueness check and leads to a parisc
compile error.  The fix would be to take O_NONBLOCK out.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Cc: Jamie Lokier <jamie@shareable.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/fcntl.c