summaryrefslogtreecommitdiff
path: root/include/linux/nfs4.h
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2013-05-22 20:50:38 +0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-06-09 00:20:13 +0400
commit42c2c4249cd0192e29eec71e3e94d7bbc383c8de (patch)
tree7b82190aaaf9fd8ecb7404559b0f8cd0a49e818f /include/linux/nfs4.h
parenteb9ae686507bc5a5ca78e6b3fbe629cd5cc67864 (diff)
downloadlinux-42c2c4249cd0192e29eec71e3e94d7bbc383c8de.tar.xz
NFSv4.2: Added NFS v4.2 support to the NFS client
This enable NFSv4.2 support. To enable this code the CONFIG_NFS_V4_2 Kconfig define needs to be set and the -o v4.2 mount option need to be used. Signed-off-by: Steve Dickson <steved@redhat.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs4.h')
-rw-r--r--include/linux/nfs4.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/nfs4.h b/include/linux/nfs4.h
index 7764aca1c6b7..42046004a2f6 100644
--- a/include/linux/nfs4.h
+++ b/include/linux/nfs4.h
@@ -399,11 +399,15 @@ enum lock_type4 {
#define NFS4_VERSION 4
#define NFS4_MINOR_VERSION 0
+#if defined(CONFIG_NFS_V4_2)
+#define NFS4_MAX_MINOR_VERSION 2
+#else
#if defined(CONFIG_NFS_V4_1)
#define NFS4_MAX_MINOR_VERSION 1
#else
#define NFS4_MAX_MINOR_VERSION 0
#endif /* CONFIG_NFS_V4_1 */
+#endif /* CONFIG_NFS_V4_2 */
#define NFS4_DEBUG 1