diff options
author | NeilBrown <neilb@suse.com> | 2018-12-02 19:30:31 -0500 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2018-12-19 13:52:46 -0500 |
commit | d6efccd97e6de25e002d658593675ce8e07ceb8c (patch) | |
tree | 7ce0dc4f130065043f14160e2703403299af8f3b /include/linux/sunrpc/auth.h | |
parent | 89a4f758d9f55f197c2a461f61ffa4a75127b30d (diff) |
SUNRPC: remove crbind rpc_cred operation
This now always just does get_rpccred(), so we
don't need an operation pointer to know to do that.
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'include/linux/sunrpc/auth.h')
-rw-r--r-- | include/linux/sunrpc/auth.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/sunrpc/auth.h b/include/linux/sunrpc/auth.h index b9449aa27fed..5486082d3d63 100644 --- a/include/linux/sunrpc/auth.h +++ b/include/linux/sunrpc/auth.h | |||
@@ -133,7 +133,6 @@ struct rpc_credops { | |||
133 | void (*crdestroy)(struct rpc_cred *); | 133 | void (*crdestroy)(struct rpc_cred *); |
134 | 134 | ||
135 | int (*crmatch)(struct auth_cred *, struct rpc_cred *, int); | 135 | int (*crmatch)(struct auth_cred *, struct rpc_cred *, int); |
136 | struct rpc_cred * (*crbind)(struct rpc_task *, struct rpc_cred *, int); | ||
137 | __be32 * (*crmarshal)(struct rpc_task *, __be32 *); | 136 | __be32 * (*crmarshal)(struct rpc_task *, __be32 *); |
138 | int (*crrefresh)(struct rpc_task *); | 137 | int (*crrefresh)(struct rpc_task *); |
139 | __be32 * (*crvalidate)(struct rpc_task *, __be32 *); | 138 | __be32 * (*crvalidate)(struct rpc_task *, __be32 *); |
@@ -167,7 +166,6 @@ int rpcauth_list_flavors(rpc_authflavor_t *, int); | |||
167 | struct rpc_cred * rpcauth_lookup_credcache(struct rpc_auth *, struct auth_cred *, int, gfp_t); | 166 | struct rpc_cred * rpcauth_lookup_credcache(struct rpc_auth *, struct auth_cred *, int, gfp_t); |
168 | void rpcauth_init_cred(struct rpc_cred *, const struct auth_cred *, struct rpc_auth *, const struct rpc_credops *); | 167 | void rpcauth_init_cred(struct rpc_cred *, const struct auth_cred *, struct rpc_auth *, const struct rpc_credops *); |
169 | struct rpc_cred * rpcauth_lookupcred(struct rpc_auth *, int); | 168 | struct rpc_cred * rpcauth_lookupcred(struct rpc_auth *, int); |
170 | struct rpc_cred * rpcauth_generic_bind_cred(struct rpc_task *, struct rpc_cred *, int); | ||
171 | void put_rpccred(struct rpc_cred *); | 169 | void put_rpccred(struct rpc_cred *); |
172 | __be32 * rpcauth_marshcred(struct rpc_task *, __be32 *); | 170 | __be32 * rpcauth_marshcred(struct rpc_task *, __be32 *); |
173 | __be32 * rpcauth_checkverf(struct rpc_task *, __be32 *); | 171 | __be32 * rpcauth_checkverf(struct rpc_task *, __be32 *); |