aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_xdr.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2012-05-21 22:46:07 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-05-22 16:45:47 -0400
commit4bf590e08f6db3395c181618a4c14f1c39b7c4af (patch)
treea55286e214564ef1bea4cb270258b75e849268c1 /include/linux/nfs_xdr.h
parent8cab4c390b43fe34c07bd33799c1bc24be648122 (diff)
NFS: Add nfs_client behavior flags
"noresvport" and "discrtry" can be passed to nfs_create_rpc_client() by setting flags in the passed-in nfs_client. This change makes it easy to add new flags. Note that these settings are now "sticky" over the lifetime of a struct nfs_client, and may even be copied when an nfs_client is cloned. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r--include/linux/nfs_xdr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index 0c521cd496a7..07048c012dec 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -1399,7 +1399,7 @@ struct nfs_rpc_ops {
1399 struct iattr *iattr); 1399 struct iattr *iattr);
1400 struct nfs_client * 1400 struct nfs_client *
1401 (*init_client) (struct nfs_client *, const struct rpc_timeout *, 1401 (*init_client) (struct nfs_client *, const struct rpc_timeout *,
1402 const char *, rpc_authflavor_t, int); 1402 const char *, rpc_authflavor_t);
1403}; 1403};
1404 1404
1405/* 1405/*