summaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorMike Sager <sager@netapp.com>2009-04-01 15:21:48 +0200
committerBenny Halevy <bhalevy@panasas.com>2009-06-17 19:46:15 +0200
commit3fd5be9e19921a89d9ed78d6a708a379a6c3c76a (patch)
tree0eb6e104ef3f9e83b3cbc96fe941cd51e4fa2e9e /fs/nfs/internal.h
parentnfs41: define NFS4_MAX_MINOR_VERSION based on CONFIG_NFS_V4_1 (diff)
downloadlinux-3fd5be9e19921a89d9ed78d6a708a379a6c3c76a.tar.xz
linux-3fd5be9e19921a89d9ed78d6a708a379a6c3c76a.zip
nfs41: add mount command option minorversion
mount -t nfs4 -o minorversion=[0|1] specifies whether to use 4.0 or 4.1. By default, the minorversion is set to 0. Signed-off-by: Mike Sager <sager@netapp.com> [set default minorversion to 0 as per Trond and SteveD's request] Signed-off-by: Benny Halevy <bhalevy@panasas.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r--fs/nfs/internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h
index e4d6a8348adf..ffa6bd54d439 100644
--- a/fs/nfs/internal.h
+++ b/fs/nfs/internal.h
@@ -44,6 +44,7 @@ struct nfs_parsed_mount_data {
unsigned int auth_flavor_len;
rpc_authflavor_t auth_flavors[1];
char *client_address;
+ unsigned int minorversion;
char *fscache_uniq;
struct {