diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2009-02-24 00:42:10 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-04-29 16:45:03 -0400 |
commit | 3cef9ab266a932899e756f7e1ea7a988a97bf3b2 (patch) | |
tree | a1fff617c936214a9e95bdec760904a28859126b /include | |
parent | ecdd03b7914c91ef849e49c4d466c87f4981b5cd (diff) |
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.h | 1 |
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 { | |||
97 | /* RPC client info */ | 97 | /* RPC client info */ |
98 | atomic_t cb_set; /* successful CB_NULL call */ | 98 | atomic_t cb_set; /* successful CB_NULL call */ |
99 | struct rpc_clnt * cb_client; | 99 | struct rpc_clnt * cb_client; |
100 | struct rpc_cred * cb_cred; | ||
100 | }; | 101 | }; |
101 | 102 | ||
102 | /* Maximum number of slots per session. 128 is useful for long haul TCP */ | 103 | /* Maximum number of slots per session. 128 is useful for long haul TCP */ |