diff --git a/fs/cifs/transport.c b/fs/cifs/transport.c index ca3de62688d6..f27842fb9f75 100644 --- a/fs/cifs/transport.c +++ b/fs/cifs/transport.c @@ -1287,7 +1287,7 @@ SendReceive(const unsigned int xid, struct cifs_ses *ses, rc = allocate_mid(ses, in_buf, &midQ); if (rc) { - mutex_unlock(&ses->server->srv_mutex); + mutex_unlock(&server->srv_mutex); /* Update # of requests on wire to server */ add_credits(server, &credits, 0); return rc;