Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 44549dff authored by Mike Sager's avatar Mike Sager Committed by Benny Halevy
Browse files

nfs41: define NFS4_MAX_MINOR_VERSION based on CONFIG_NFS_V4_1



If 4.1 isn't supported, NFS4_MAX_MINOR_VERSION will be 0.

Signed-off-by: default avatarMike Sager <sager@netapp.com>
Signed-off-by: default avatarBenny Halevy <bhalevy@panasas.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 1efae381
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -462,6 +462,13 @@ enum lock_type4 {
#define NFSPROC4_NULL 0
#define NFSPROC4_COMPOUND 1
#define NFS4_MINOR_VERSION 0

#if defined(CONFIG_NFS_V4_1)
#define NFS4_MAX_MINOR_VERSION 1
#else
#define NFS4_MAX_MINOR_VERSION 0
#endif /* CONFIG_NFS_V4_1 */

#define NFS4_DEBUG 1

/* Index of predefined Linux client operations */