Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

nfs: add a new NFS4_OPEN_RESULT_MAY_NOTIFY_LOCK constant

As defined in RFC 5661, section 18.16.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>

authored by

Jeff Layton and committed by
J. Bruce Fields
b4c8eb03 7919d0a2

+3 -2
+3 -2
include/uapi/linux/nfs4.h
··· 39 39 #define NFS4_FH_VOL_MIGRATION 0x0004 40 40 #define NFS4_FH_VOL_RENAME 0x0008 41 41 42 - #define NFS4_OPEN_RESULT_CONFIRM 0x0002 43 - #define NFS4_OPEN_RESULT_LOCKTYPE_POSIX 0x0004 42 + #define NFS4_OPEN_RESULT_CONFIRM 0x0002 43 + #define NFS4_OPEN_RESULT_LOCKTYPE_POSIX 0x0004 44 + #define NFS4_OPEN_RESULT_MAY_NOTIFY_LOCK 0x0020 44 45 45 46 #define NFS4_SHARE_ACCESS_MASK 0x000F 46 47 #define NFS4_SHARE_ACCESS_READ 0x0001