summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2009-02-24 06:42:10 +0100
committerJ. Bruce Fields <bfields@citi.umich.edu>2009-04-29 22:45:03 +0200
commit3cef9ab266a932899e756f7e1ea7a988a97bf3b2 (patch)
treea1fff617c936214a9e95bdec760904a28859126b /include
parentnfsd4: create rpc callback client from server thread (diff)
downloadlinux-3cef9ab266a932899e756f7e1ea7a988a97bf3b2.tar.xz
linux-3cef9ab266a932899e756f7e1ea7a988a97bf3b2.zip
nfsd4: lookup up callback cred only once
Lookup the callback cred once and then use it for all subsequent callbacks. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nfsd/state.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfsd/state.h b/include/linux/nfsd/state.h
index 4d61c873feed..8d882a3eb4b9 100644
--- a/include/linux/nfsd/state.h
+++ b/include/linux/nfsd/state.h
@@ -97,6 +97,7 @@ struct nfs4_callback {
/* RPC client info */
atomic_t cb_set; /* successful CB_NULL call */
struct rpc_clnt * cb_client;
+ struct rpc_cred * cb_cred;
};
/* Maximum number of slots per session. 128 is useful for long haul TCP */