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:
@@ -643,6 +643,10 @@ shutdown_callback_client(struct nfs4_client *clp)
|
||||
clp->cl_callback.cb_client = NULL;
|
||||
rpc_shutdown_client(clnt);
|
||||
}
|
||||
if (clp->cl_callback.cb_cred) {
|
||||
put_rpccred(clp->cl_callback.cb_cred);
|
||||
clp->cl_callback.cb_cred = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
static inline void
|
||||
|
Reference in New Issue
Block a user