CIFS: Process reconnects for SMB2 shares
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru> Signed-off-by: Steve French <smfrench@gmail.com>
This commit is contained in:
committed by
Pavel Shilovsky
parent
faaf946a7d
commit
aa24d1e969
@@ -317,6 +317,9 @@ cifs_reconnect(struct TCP_Server_Info *server)
|
||||
server->tcpStatus = CifsNeedReconnect;
|
||||
spin_unlock(&GlobalMid_Lock);
|
||||
server->maxBuf = 0;
|
||||
#ifdef CONFIG_CIFS_SMB2
|
||||
server->max_read = 0;
|
||||
#endif
|
||||
|
||||
cFYI(1, "Reconnecting tcp session");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user