summaryrefslogtreecommitdiffstats
path: root/include/linux/nfsd
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2009-02-23 21:42:10 -0800
committerJ. Bruce Fields <bfields@citi.umich.edu>2009-04-29 16:45:03 -0400
commit3cef9ab266a932899e756f7e1ea7a988a97bf3b2 (patch)
treea1fff617c936214a9e95bdec760904a28859126b /include/linux/nfsd
parentecdd03b7914c91ef849e49c4d466c87f4981b5cd (diff)
downloadop-kernel-dev-3cef9ab266a932899e756f7e1ea7a988a97bf3b2.zip
op-kernel-dev-3cef9ab266a932899e756f7e1ea7a988a97bf3b2.tar.gz
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/linux/nfsd')
-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 4d61c87..8d882a3 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 */
OpenPOWER on IntegriCloud