summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNeil Brown <neilb@cse.unsw.edu.au>2004-10-19 18:26:11 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-10-19 18:26:11 -0700
commit1ea5482bee2b6fdd0ef6a416c7648865ecaec806 (patch)
tree3c1bc24ea7cdb150e30506ee64f8acdec9338e36 /include
parentce02bf8f0b205737f0a09f0447845d77cf252342 (diff)
[PATCH] nfsd: set OPEN_RESULT_LOCKTYPE_POSIX in open()
We should set the OPEN_RESULT_LOCKTYPE_POSIX flag in the return to open, to indicate that we support locking. Signed-off-by: Andy Adamson <andros@citi.umich.edu> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nfs4.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs4.h b/include/linux/nfs4.h
index 96974ab10f27..5ca8a8d8ccdf 100644
--- a/include/linux/nfs4.h
+++ b/include/linux/nfs4.h
@@ -35,6 +35,7 @@
#define NFS4_FH_VOL_RENAME 0x0008
#define NFS4_OPEN_RESULT_CONFIRM 0x0002
+#define NFS4_OPEN_RESULT_LOCKTYPE_POSIX 0x0004
#define NFS4_SHARE_ACCESS_READ 0x0001
#define NFS4_SHARE_ACCESS_WRITE 0x0002