summaryrefslogtreecommitdiff
path: root/arch/sparc
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2011-03-16 10:09:27 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2011-03-16 16:54:02 +0300
commit5229645bdc35f1cc43eb8b25b6993c8fa58b4b43 (patch)
tree74f7e4e702af71f54696ba1bfac467f5fbc3a93c /arch/sparc
parent0e794589e588a88d34e339feee50c72606fb21a7 (diff)
downloadlinux-5229645bdc35f1cc43eb8b25b6993c8fa58b4b43.tar.xz
vfs: add nonconflicting values for O_PATH
[AV: on architectures where default conflicts with existing flags, that is] Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sparc')
-rw-r--r--arch/sparc/include/asm/fcntl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/fcntl.h b/arch/sparc/include/asm/fcntl.h
index 38f37b333cc7..d0b83f66f356 100644
--- a/arch/sparc/include/asm/fcntl.h
+++ b/arch/sparc/include/asm/fcntl.h
@@ -34,6 +34,8 @@
#define __O_SYNC 0x800000
#define O_SYNC (__O_SYNC|O_DSYNC)
+#define O_PATH 0x1000000
+
#define F_GETOWN 5 /* for sockets. */
#define F_SETOWN 6 /* for sockets. */
#define F_GETLK 7