mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 06:32:08 +00:00
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>
This commit is contained in:
parent
ecdd03b791
commit
3cef9ab266
3 changed files with 31 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue