X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=fs%2Fcifs%2Ftransport.c;h=75a95de320cfe2353848906378604cf8230a38e0;hb=0aa78d17099b04fd9d36fe338af48ad6fe2d7fca;hp=f65f9a692ca244a22593964aca0e708773b25914;hpb=b8052599420cd94505baec1f22b4e7c9e5ae5fce;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); }