summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/auth.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2008-03-12 12:24:49 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-03-14 13:42:38 -0400
commit9a559efd4199c9812d339e23cc1b6055366b224f (patch)
tree44ae54434a6bd368693ea76b210448496e222e46 /net/sunrpc/auth.c
parent4ccda2cdd8d156b6f49440653d5d6997e0facf97 (diff)
downloadlinux-stable-9a559efd4199c9812d339e23cc1b6055366b224f.tar.gz
linux-stable-9a559efd4199c9812d339e23cc1b6055366b224f.tar.bz2
linux-stable-9a559efd4199c9812d339e23cc1b6055366b224f.zip
SUNRPC: Add a generic RPC credential
Add an rpc credential that is not tied to any particular auth mechanism, but that can be cached by NFS, and later used to look up a cred for whichever auth mechanism that turns out to be valid when the RPC call is being made. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/auth.c')
-rw-r--r--net/sunrpc/auth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/auth.c b/net/sunrpc/auth.c
index 1cdb163c4f89..012f2a320638 100644
--- a/net/sunrpc/auth.c
+++ b/net/sunrpc/auth.c
@@ -566,6 +566,7 @@ static struct shrinker rpc_cred_shrinker = {
void __init rpcauth_init_module(void)
{
rpc_init_authunix();
+ rpc_init_generic_auth();
register_shrinker(&rpc_cred_shrinker);
}