summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2008-01-03 16:29:06 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-01-30 02:06:00 -0500
commit59dca3b28cb915745019d4f4c27d97b6b6ab12c6 (patch)
tree6e3bde647bba09070ece738af13ce4bf569ba95e /include
parent331702337f2b2e7cef40366ee207a25604df4671 (diff)
downloadop-kernel-dev-59dca3b28cb915745019d4f4c27d97b6b6ab12c6.zip
op-kernel-dev-59dca3b28cb915745019d4f4c27d97b6b6ab12c6.tar.gz
NFS: Fix the 'proto=' mount option
Currently, if you have a server mounted using networking protocol, you cannot specify a different value using the 'proto=' option on another mountpoint. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nfs_fs_sb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h
index d15c948..b5ba5f7 100644
--- a/include/linux/nfs_fs_sb.h
+++ b/include/linux/nfs_fs_sb.h
@@ -29,6 +29,7 @@ struct nfs_client {
struct rpc_clnt * cl_rpcclient;
const struct nfs_rpc_ops *rpc_ops; /* NFS protocol vector */
+ int cl_proto; /* Network transport protocol */
#ifdef CONFIG_NFS_V4
u64 cl_clientid; /* constant */
OpenPOWER on IntegriCloud