SUNRPC: Clean up the AUTH cache code
[sfrench/cifs-2.6.git] / net / sunrpc / auth_null.c
index 4b48228ee8c74a6d313289d7425c0c3d5262b2e4..a7c00b4959f31fa802a07637539e714a0c1f8e99 100644 (file)
@@ -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,
 };