summaryrefslogtreecommitdiff
path: root/include/uapi/asm-generic/fcntl.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-07-20 17:50:01 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-20 17:50:01 (GMT)
commit36231d255b8df9cb4698e9a3902c16067d5c1398 (patch)
tree78aac3506bce9984576c0bac23fe095c08b40550 /include/uapi/asm-generic/fcntl.h
parent19bf1c2c7b9f21b9fe86315c5758d26c3049c2ad (diff)
parent24924a20dab603089011f9d3eb7622f0f6ef93c0 (diff)
downloadlinux-fsl-qoriq-36231d255b8df9cb4698e9a3902c16067d5c1398.tar.xz
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull vfs fixes from Al Viro: "The sget() one is a long-standing bug and will need to go into -stable (in fact, it had been originally caught in RHEL6), the other two are 3.11-only" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: vfs: constify dentry parameter in d_count() livelock avoidance in sget() allow O_TMPFILE to work with O_WRONLY
Diffstat (limited to 'include/uapi/asm-generic/fcntl.h')
-rw-r--r--include/uapi/asm-generic/fcntl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/asm-generic/fcntl.h b/include/uapi/asm-generic/fcntl.h
index 05ac354..95e46c8 100644
--- a/include/uapi/asm-generic/fcntl.h
+++ b/include/uapi/asm-generic/fcntl.h
@@ -89,8 +89,8 @@
#endif
/* a horrid kludge trying to make sure that this will fail on old kernels */
-#define O_TMPFILE (__O_TMPFILE | O_DIRECTORY | O_RDWR)
-#define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT | O_ACCMODE)
+#define O_TMPFILE (__O_TMPFILE | O_DIRECTORY)
+#define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT)
#ifndef O_NDELAY
#define O_NDELAY O_NONBLOCK