From 95cd623250adce2269e71cfeaf1d487cf4b0d088 Mon Sep 17 00:00:00 2001 From: Trond Myklebust Date: Thu, 11 Oct 2018 16:11:09 -0400 Subject: SUNRPC: Clean up the AUTH cache code Signed-off-by: Trond Myklebust --- net/sunrpc/auth_null.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/sunrpc/auth_null.c') diff --git a/net/sunrpc/auth_null.c b/net/sunrpc/auth_null.c index 4b48228ee8c7..a7c00b4959f3 100644 --- a/net/sunrpc/auth_null.c +++ b/net/sunrpc/auth_null.c @@ -138,6 +138,6 @@ struct rpc_cred null_cred = { .cr_lru = LIST_HEAD_INIT(null_cred.cr_lru), .cr_auth = &null_auth, .cr_ops = &null_credops, - .cr_count = ATOMIC_INIT(1), + .cr_count = ATOMIC_INIT(2), .cr_flags = 1UL << RPCAUTH_CRED_UPTODATE, }; -- cgit v1.2.3