summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/auth.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2007-06-23 16:46:47 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-07-11 05:40:34 +0200
commitde7a8ce38aea529876db3890b61947bc4bc004da (patch)
tree2067bae81ea0d39631d4caae9a8a092380f1932c /net/sunrpc/auth.c
parentSUNRPC: Add the helper function 'rpc_call_null()' (diff)
downloadlinux-de7a8ce38aea529876db3890b61947bc4bc004da.tar.xz
linux-de7a8ce38aea529876db3890b61947bc4bc004da.zip
SUNRPC: Rename rpcauth_destroy() to rpcauth_release()
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/auth.c')
-rw-r--r--net/sunrpc/auth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/auth.c b/net/sunrpc/auth.c
index 584f24311a80..1686dc74c6a9 100644
--- a/net/sunrpc/auth.c
+++ b/net/sunrpc/auth.c
@@ -93,7 +93,7 @@ rpcauth_create(rpc_authflavor_t pseudoflavor, struct rpc_clnt *clnt)
if (IS_ERR(auth))
return auth;
if (clnt->cl_auth)
- rpcauth_destroy(clnt->cl_auth);
+ rpcauth_release(clnt->cl_auth);
clnt->cl_auth = auth;
out:
@@ -101,7 +101,7 @@ out:
}
void
-rpcauth_destroy(struct rpc_auth *auth)
+rpcauth_release(struct rpc_auth *auth)
{
if (!atomic_dec_and_test(&auth->au_count))
return;