diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-06-27 20:29:04 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-07-11 05:40:37 +0200 |
commit | 1be27f36601973815171db684c711d30557cf50c (patch) | |
tree | 37119def0079958b1ec444ee6a3b2ec3b15337b5 /net/sunrpc/auth_unix.c | |
parent | SUNRPC: Allow rpc_auth to run clean up before the rpc_client is destroyed (diff) | |
download | linux-1be27f36601973815171db684c711d30557cf50c.tar.xz linux-1be27f36601973815171db684c711d30557cf50c.zip |
SUNRPC: Remove the tk_auth macro...
We should almost always be deferencing the rpc_auth struct by means of the
credential's cr_auth field instead of the rpc_clnt->cl_auth anyway. Fix up
that historical mistake, and remove the macro that propagated it.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/auth_unix.c')
-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 d9c50d810d15..5ed91e5bcee4 100644 --- a/net/sunrpc/auth_unix.c +++ b/net/sunrpc/auth_unix.c @@ -204,7 +204,7 @@ unx_validate(struct rpc_task *task, __be32 *p) printk("RPC: giant verf size: %u\n", size); return NULL; } - task->tk_auth->au_rslack = (size >> 2) + 2; + task->tk_msg.rpc_cred->cr_auth->au_rslack = (size >> 2) + 2; p += (size >> 2); return p; |