vfs: add missing check for __O_TMPFILE in fcntl_init()
authorZheng Liu <gnehzuil.liu@gmail.com>
Thu, 25 Jul 2013 00:13:19 +0000 (08:13 +0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 5 Aug 2013 14:25:32 +0000 (18:25 +0400)
commit3d62c45b38e534262d443b5820fb06a0e6d0d42f
tree177d89e4b2048898d8e6611751e57f73c72be898
parentbb2314b47996491bbc5add73633905c3120b6268
vfs: add missing check for __O_TMPFILE in fcntl_init()

As comment in include/uapi/asm-generic/fcntl.h described, when
introducing new O_* bits, we need to check its uniqueness in
fcntl_init().  But __O_TMPFILE bit is missing.  So fix it.

Signed-off-by: Zheng Liu <wenqing.lz@taobao.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/fcntl.c