[CIFS] cifs send2 not retrying enough in some cases on full socket
authorShirish Pargaonkar <shirishp@us.ibm.com>
Tue, 29 Jul 2008 21:26:13 +0000 (21:26 +0000)
committerSteve French <sfrench@us.ibm.com>
Tue, 29 Jul 2008 21:26:13 +0000 (21:26 +0000)
commit176803562b541ebf4744e44e6600fb60660255d5
treed878bb3f6cf2da56c725f02d1ac852b902a6dfcc
parent44051fed5763c4f55eb8a7eeae6ede52bc15f85f
[CIFS] cifs send2 not retrying enough in some cases on full socket

There are cases in which, on a full socket which requires retry on
sending data by the app (cifs in this case), that we were not
retrying since we did not reinitialize a counter.

This fixes the retry logic to retry up to 15 seconds on stuck
sockets.

Signed-off-by: Shirish Pargaonkar <shirishp@us.ibm.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/transport.c