Skip to content
Commit 3d62c45b authored by Zheng Liu's avatar Zheng Liu Committed by Al Viro
Browse files

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: default avatarZheng Liu <wenqing.lz@taobao.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent bb2314b4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment