diff options
-rw-r--r-- | net/sunrpc/auth_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/auth_unix.c b/net/sunrpc/auth_unix.c index 5622783011a4..e54782e75d59 100644 --- a/net/sunrpc/auth_unix.c +++ b/net/sunrpc/auth_unix.c | |||
@@ -41,7 +41,7 @@ unx_create(struct rpc_clnt *clnt, rpc_authflavor_t flavor) | |||
41 | { | 41 | { |
42 | dprintk("RPC: creating UNIX authenticator for client %p\n", | 42 | dprintk("RPC: creating UNIX authenticator for client %p\n", |
43 | clnt); | 43 | clnt); |
44 | if (atomic_inc_return(&unix_auth.au_count) == 0) | 44 | if (atomic_inc_return(&unix_auth.au_count) == 1) |
45 | unix_cred_cache.nextgc = jiffies + (unix_cred_cache.expire >> 1); | 45 | unix_cred_cache.nextgc = jiffies + (unix_cred_cache.expire >> 1); |
46 | return &unix_auth; | 46 | return &unix_auth; |
47 | } | 47 | } |