diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-07-31 14:29:08 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-08-04 08:54:08 -0400 |
commit | 8572b8e2e3c5f3d990122348c4d2c64dad338611 (patch) | |
tree | 5de87a7f2cb1c1105313c0fb1d1f26a969961c83 /include/linux/sunrpc | |
parent | 58f9612c6ea858f532021a0ce42ec53cb0a493b3 (diff) |
SUNRPC: Clean up of rpc_bindcred()
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r-- | include/linux/sunrpc/auth.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/sunrpc/auth.h b/include/linux/sunrpc/auth.h index d2737625a247..90e4c3827ac0 100644 --- a/include/linux/sunrpc/auth.h +++ b/include/linux/sunrpc/auth.h | |||
@@ -106,7 +106,7 @@ struct rpc_credops { | |||
106 | void (*crdestroy)(struct rpc_cred *); | 106 | void (*crdestroy)(struct rpc_cred *); |
107 | 107 | ||
108 | int (*crmatch)(struct auth_cred *, struct rpc_cred *, int); | 108 | int (*crmatch)(struct auth_cred *, struct rpc_cred *, int); |
109 | void (*crbind)(struct rpc_task *, struct rpc_cred *, int); | 109 | struct rpc_cred * (*crbind)(struct rpc_task *, struct rpc_cred *, int); |
110 | __be32 * (*crmarshal)(struct rpc_task *, __be32 *); | 110 | __be32 * (*crmarshal)(struct rpc_task *, __be32 *); |
111 | int (*crrefresh)(struct rpc_task *); | 111 | int (*crrefresh)(struct rpc_task *); |
112 | __be32 * (*crvalidate)(struct rpc_task *, __be32 *); | 112 | __be32 * (*crvalidate)(struct rpc_task *, __be32 *); |
@@ -135,8 +135,8 @@ void rpcauth_release(struct rpc_auth *); | |||
135 | struct rpc_cred * rpcauth_lookup_credcache(struct rpc_auth *, struct auth_cred *, int); | 135 | struct rpc_cred * rpcauth_lookup_credcache(struct rpc_auth *, struct auth_cred *, int); |
136 | void rpcauth_init_cred(struct rpc_cred *, const struct auth_cred *, struct rpc_auth *, const struct rpc_credops *); | 136 | void rpcauth_init_cred(struct rpc_cred *, const struct auth_cred *, struct rpc_auth *, const struct rpc_credops *); |
137 | struct rpc_cred * rpcauth_lookupcred(struct rpc_auth *, int); | 137 | struct rpc_cred * rpcauth_lookupcred(struct rpc_auth *, int); |
138 | void rpcauth_bindcred(struct rpc_task *, struct rpc_cred *, int); | 138 | int rpcauth_bindcred(struct rpc_task *, struct rpc_cred *, int); |
139 | void rpcauth_generic_bind_cred(struct rpc_task *, struct rpc_cred *, int); | 139 | struct rpc_cred * rpcauth_generic_bind_cred(struct rpc_task *, struct rpc_cred *, int); |
140 | void put_rpccred(struct rpc_cred *); | 140 | void put_rpccred(struct rpc_cred *); |
141 | void rpcauth_unbindcred(struct rpc_task *); | 141 | void rpcauth_unbindcred(struct rpc_task *); |
142 | __be32 * rpcauth_marshcred(struct rpc_task *, __be32 *); | 142 | __be32 * rpcauth_marshcred(struct rpc_task *, __be32 *); |