diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-06-23 19:55:31 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-07-10 23:40:35 -0400 |
commit | 5fe4755e2526a2aa82b7ed8daeb3aed74a236925 (patch) | |
tree | aceb993080fc6aac5861f04d8a8494becb4046eb /include/linux/sunrpc/auth.h | |
parent | f1c0a8615090359d57e096157feb9f900cbb233c (diff) |
SUNRPC: Clean up rpc credential initialisation
Add a helper rpc_cred_init()
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc/auth.h')
-rw-r--r-- | include/linux/sunrpc/auth.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sunrpc/auth.h b/include/linux/sunrpc/auth.h index e606c2804685..d5bfc67461fc 100644 --- a/include/linux/sunrpc/auth.h +++ b/include/linux/sunrpc/auth.h | |||
@@ -127,6 +127,7 @@ int rpcauth_unregister(const struct rpc_authops *); | |||
127 | struct rpc_auth * rpcauth_create(rpc_authflavor_t, struct rpc_clnt *); | 127 | struct rpc_auth * rpcauth_create(rpc_authflavor_t, struct rpc_clnt *); |
128 | void rpcauth_release(struct rpc_auth *); | 128 | void rpcauth_release(struct rpc_auth *); |
129 | struct rpc_cred * rpcauth_lookup_credcache(struct rpc_auth *, struct auth_cred *, int); | 129 | struct rpc_cred * rpcauth_lookup_credcache(struct rpc_auth *, struct auth_cred *, int); |
130 | void rpcauth_init_cred(struct rpc_cred *, const struct auth_cred *, struct rpc_auth *, const struct rpc_credops *); | ||
130 | struct rpc_cred * rpcauth_lookupcred(struct rpc_auth *, int); | 131 | struct rpc_cred * rpcauth_lookupcred(struct rpc_auth *, int); |
131 | struct rpc_cred * rpcauth_bindcred(struct rpc_task *); | 132 | struct rpc_cred * rpcauth_bindcred(struct rpc_task *); |
132 | void rpcauth_holdcred(struct rpc_task *); | 133 | void rpcauth_holdcred(struct rpc_task *); |