aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndy Adamson <andros@netapp.com>2011-02-28 20:34:08 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-03-11 15:38:41 -0500
commit45a52a02072b2a7e265f024cfdb00127e08dd9f2 (patch)
tree33c98f48d5b652297f45406f47d9545cca37c7c5 /include
parentbf9c1387ca80deac792c9ecf1c64dfcc5d1cc768 (diff)
NFS move nfs_client initialization into nfs_get_client
Now nfs_get_client returns an nfs_client ready to be used no matter if it was found or created. Signed-off-by: Andy Adamson <andros@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nfs_xdr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index 51bfadbe24e2..d159fe733381 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -1040,6 +1040,7 @@ struct nfs_write_data {
1040}; 1040};
1041 1041
1042struct nfs_access_entry; 1042struct nfs_access_entry;
1043struct nfs_client;
1043 1044
1044/* 1045/*
1045 * RPC procedure vector for NFSv2/NFSv3 demuxing 1046 * RPC procedure vector for NFSv2/NFSv3 demuxing
@@ -1104,6 +1105,8 @@ struct nfs_rpc_ops {
1104 struct nfs_open_context *ctx, 1105 struct nfs_open_context *ctx,
1105 int open_flags, 1106 int open_flags,
1106 struct iattr *iattr); 1107 struct iattr *iattr);
1108 int (*init_client) (struct nfs_client *, const struct rpc_timeout *,
1109 const char *, rpc_authflavor_t, int);
1107}; 1110};
1108 1111
1109/* 1112/*