commit | aa24d1e9692411e605084938ced6b160f92df454 | [log] [tgz] |
---|---|---|
author | Pavel Shilovsky <piastry@etersoft.ru> | Tue Dec 27 16:23:34 2011 +0400 |
committer | Pavel Shilovsky <pshilovsky@samba.org> | Tue Jul 24 21:54:59 2012 +0400 |
tree | 399446513c2437af67ca8ed065ba16f272715bb4 | |
parent | faaf946a7d5b79194358437150f34ab4c66bfe21 [diff] [blame] |
CIFS: Process reconnects for SMB2 shares Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru> Signed-off-by: Steve French <smfrench@gmail.com>
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index a619722..7cf8b16 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c
@@ -317,6 +317,9 @@ server->tcpStatus = CifsNeedReconnect; spin_unlock(&GlobalMid_Lock); server->maxBuf = 0; +#ifdef CONFIG_CIFS_SMB2 + server->max_read = 0; +#endif cFYI(1, "Reconnecting tcp session");