Skip to content

Commit

Permalink
[CIFS] Allow cifsd to suspend if connection is lost
Browse files Browse the repository at this point in the history
Make cifsd allow us to suspend if it has lost the connection with a server

Ref: http://bugzilla.kernel.org/show_bug.cgi?id=6811

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Steve French <sfrench@us.ibm.com>
(cherry picked from 27bd6cd87b0ada66515ad49bc346d77d1e9d3e05 commit)
  • Loading branch information
Steve French committed Aug 11, 2006
1 parent 5da07b0 commit 6c3d890
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/cifs/connect.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ cifs_reconnect(struct TCP_Server_Info *server)

while ((server->tcpStatus != CifsExiting) && (server->tcpStatus != CifsGood))
{
try_to_freeze();
if(server->protocolType == IPV6) {
rc = ipv6_connect(&server->addr.sockAddr6,&server->ssocket);
} else {
Expand Down

0 comments on commit 6c3d890

Please sign in to comment.