summaryrefslogtreecommitdiff
path: root/net/sunrpc/auth_null.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2018-10-14 17:34:31 +0300
committerTrond Myklebust <trond.myklebust@hammerspace.com>2018-10-23 19:24:33 +0300
commit79b181810285a6b9b7a1aed25c365c9e1782e22a (patch)
tree9227dcdd771223ab11d6893ece6678d529782019 /net/sunrpc/auth_null.c
parent07d02a67b7faae56e184f6c35f78de47f06da37f (diff)
downloadlinux-79b181810285a6b9b7a1aed25c365c9e1782e22a.tar.xz
SUNRPC: Convert auth creds to use refcount_t
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'net/sunrpc/auth_null.c')
-rw-r--r--net/sunrpc/auth_null.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/auth_null.c b/net/sunrpc/auth_null.c
index a7c00b4959f3..ea816d7000a4 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(2),
+ .cr_count = REFCOUNT_INIT(2),
.cr_flags = 1UL << RPCAUTH_CRED_UPTODATE,
};