check for null client session before BIND_CONN
This commit is contained in:
parent
5cf32c11c2
commit
e0fc4cf985
1 changed files with 2 additions and 1 deletions
|
|
@ -285,7 +285,8 @@ out_unlock:
|
|||
|
||||
/* after releasing the rpc lock, send a BIND_CONN_TO_SESSION if
|
||||
* we need to associate the connection with the backchannel */
|
||||
if (status == NO_ERROR && rpc->needcb) {
|
||||
if (status == NO_ERROR && rpc->needcb &&
|
||||
rpc->client && rpc->client->session) {
|
||||
status = nfs41_bind_conn_to_session(rpc,
|
||||
rpc->client->session->session_id, CDFC4_BACK_OR_BOTH);
|
||||
if (status)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue