summaryrefslogtreecommitdiffstats
path: root/arch/parisc/include
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2011-03-16 08:09:27 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2011-03-16 14:54:02 +0100
commit5229645bdc35f1cc43eb8b25b6993c8fa58b4b43 (patch)
tree74f7e4e702af71f54696ba1bfac467f5fbc3a93c /arch/parisc/include
parentfix follow_link() breakage (diff)
downloadlinux-5229645bdc35f1cc43eb8b25b6993c8fa58b4b43.tar.xz
linux-5229645bdc35f1cc43eb8b25b6993c8fa58b4b43.zip
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/parisc/include')
-rw-r--r--arch/parisc/include/asm/fcntl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/parisc/include/asm/fcntl.h b/arch/parisc/include/asm/fcntl.h
index f357fc693c89..0304b92ccfea 100644
--- a/arch/parisc/include/asm/fcntl.h
+++ b/arch/parisc/include/asm/fcntl.h
@@ -19,6 +19,8 @@
#define O_NOFOLLOW 000000200 /* don't follow links */
#define O_INVISIBLE 004000000 /* invisible I/O, for DMAPI/XDSM */
+#define O_PATH 020000000
+
#define F_GETLK64 8
#define F_SETLK64 9
#define F_SETLKW64 10