diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-03-12 16:21:07 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-03-14 13:42:41 -0400 |
commit | 5c691044ecbca04dd558fca4c754121689fe1b34 (patch) | |
tree | 7a56b63c44766fcca0d7ac245ce0e19077b6f118 /net/sunrpc/auth_unix.c | |
parent | 9a559efd4199c9812d339e23cc1b6055366b224f (diff) |
SUNRPC: Add an rpc_credop callback for binding a credential to an rpc_task
We need the ability to treat 'generic' creds specially, since they want to
bind instances of the auth cred instead of binding themselves.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/auth_unix.c')
-rw-r--r-- | net/sunrpc/auth_unix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/auth_unix.c b/net/sunrpc/auth_unix.c index b763710d3dbd..04e936a56fb2 100644 --- a/net/sunrpc/auth_unix.c +++ b/net/sunrpc/auth_unix.c | |||
@@ -237,6 +237,7 @@ static | |||
237 | const struct rpc_credops unix_credops = { | 237 | const struct rpc_credops unix_credops = { |
238 | .cr_name = "AUTH_UNIX", | 238 | .cr_name = "AUTH_UNIX", |
239 | .crdestroy = unx_destroy_cred, | 239 | .crdestroy = unx_destroy_cred, |
240 | .crbind = rpcauth_generic_bind_cred, | ||
240 | .crmatch = unx_match, | 241 | .crmatch = unx_match, |
241 | .crmarshal = unx_marshal, | 242 | .crmarshal = unx_marshal, |
242 | .crrefresh = unx_refresh, | 243 | .crrefresh = unx_refresh, |