diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1999-06-13 16:29:25 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1999-06-13 16:29:25 +0000 |
commit | db7d4daea91e105e3859cf461d7e53b9b77454b2 (patch) | |
tree | 9bb65b95440af09e8aca63abe56970dd3360cc57 /net/sunrpc/auth.c | |
parent | 9c1c01ead627bdda9211c9abd5b758d6c687d8ac (diff) |
Merge with Linux 2.2.8.
Diffstat (limited to 'net/sunrpc/auth.c')
-rw-r--r-- | net/sunrpc/auth.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sunrpc/auth.c b/net/sunrpc/auth.c index 96d81dd5a..2b8db00cc 100644 --- a/net/sunrpc/auth.c +++ b/net/sunrpc/auth.c @@ -175,7 +175,8 @@ rpcauth_lookup_credcache(struct rpc_task *task) if (!cred) cred = auth->au_ops->crcreate(task); - rpcauth_insert_credcache(auth, cred); + if (cred) + rpcauth_insert_credcache(auth, cred); return (struct rpc_cred *) cred; } |