Skip to content

Commit

Permalink
nfs: add a new NFS4_OPEN_RESULT_MAY_NOTIFY_LOCK constant
Browse files Browse the repository at this point in the history
As defined in RFC 5661, section 18.16.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
  • Loading branch information
Jeff Layton authored and Anna Schumaker committed Sep 22, 2016
1 parent 66f570a commit eed7c41
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/uapi/linux/nfs4.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@
#define NFS4_FH_VOL_MIGRATION 0x0004
#define NFS4_FH_VOL_RENAME 0x0008

#define NFS4_OPEN_RESULT_CONFIRM 0x0002
#define NFS4_OPEN_RESULT_LOCKTYPE_POSIX 0x0004
#define NFS4_OPEN_RESULT_CONFIRM 0x0002
#define NFS4_OPEN_RESULT_LOCKTYPE_POSIX 0x0004
#define NFS4_OPEN_RESULT_MAY_NOTIFY_LOCK 0x0020

#define NFS4_SHARE_ACCESS_MASK 0x000F
#define NFS4_SHARE_ACCESS_READ 0x0001
Expand Down

0 comments on commit eed7c41

Please sign in to comment.