aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_xdr.h
diff options
context:
space:
mode:
authorBryan Schumaker <bjschuma@netapp.com>2012-06-20 15:53:46 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-06-29 11:46:46 -0400
commit6663ee7f8187708143255c057bc132bbc84c1894 (patch)
tree17e47c1be9da2b3e67d74155676fdba92f435efe /include/linux/nfs_xdr.h
parentcdb7ecedec766861e7c4cc35a203518f92023bff (diff)
NFS: Create an alloc_client rpc_op
This gives NFS v4 a way to set up callbacks and sessions without v2 or v3 having to do them as well. Signed-off-by: Bryan Schumaker <bjschuma@netapp.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, 2 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index e61dc7235d5d..4d62b774ddaf 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -1353,6 +1353,7 @@ struct nfs_renamedata {
1353struct nfs_access_entry; 1353struct nfs_access_entry;
1354struct nfs_client; 1354struct nfs_client;
1355struct rpc_timeout; 1355struct rpc_timeout;
1356struct nfs_client_initdata;
1356 1357
1357/* 1358/*
1358 * RPC procedure vector for NFSv2/NFSv3 demuxing 1359 * RPC procedure vector for NFSv2/NFSv3 demuxing
@@ -1424,6 +1425,7 @@ struct nfs_rpc_ops {
1424 struct iattr *iattr); 1425 struct iattr *iattr);
1425 int (*have_delegation)(struct inode *, fmode_t); 1426 int (*have_delegation)(struct inode *, fmode_t);
1426 int (*return_delegation)(struct inode *); 1427 int (*return_delegation)(struct inode *);
1428 struct nfs_client *(*alloc_client) (const struct nfs_client_initdata *);
1427 struct nfs_client * 1429 struct nfs_client *
1428 (*init_client) (struct nfs_client *, const struct rpc_timeout *, 1430 (*init_client) (struct nfs_client *, const struct rpc_timeout *,
1429 const char *, rpc_authflavor_t); 1431 const char *, rpc_authflavor_t);