X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=fs%2Fcifs%2Ftransport.c;h=75a95de320cfe2353848906378604cf8230a38e0;hb=ce4c8f882041341cbb3f1b4632b20440692cbccc;hp=f65f9a692ca244a22593964aca0e708773b25914;hpb=81361b837a3450f0a44255fddfd7a4c72502b667;p=linux-2.6-microblaze.git diff --git a/fs/cifs/transport.c b/fs/cifs/transport.c index f65f9a692ca2..75a95de320cf 100644 --- a/fs/cifs/transport.c +++ b/fs/cifs/transport.c @@ -431,7 +431,9 @@ unmask: * be taken as the remainder of this one. We need to kill the * socket so the server throws away the partial SMB */ + spin_lock(&GlobalMid_Lock); server->tcpStatus = CifsNeedReconnect; + spin_unlock(&GlobalMid_Lock); trace_smb3_partial_send_reconnect(server->CurrentMid, server->conn_id, server->hostname); }