lkml.org 
[lkml]   [2002]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH][2.5] CIFS connect.c return ipv4_connect value
Index: linux-2.5.43/fs/cifs/connect.c
===================================================================
RCS file: /build/cvsroot/linux-2.5.43/fs/cifs/connect.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 connect.c
--- linux-2.5.43/fs/cifs/connect.c 16 Oct 2002 03:46:04 -0000 1.1.1.1
+++ linux-2.5.43/fs/cifs/connect.c 16 Oct 2002 04:27:52 -0000
@@ -63,8 +63,6 @@
int
cifs_reconnect(struct TCP_Server_Info *server)
{
- int rc = 0;
-
cFYI(1, ("\nReconnecting tcp session "));

/* lock tcp session */
@@ -75,8 +73,7 @@
("\nState: 0x%x Flags: 0x%lx", server->ssocket->state,
server->ssocket->flags));

- ipv4_connect(&server->sockAddr, &server->ssocket);
- return rc;
+ return ipv4_connect(&server->sockAddr, &server->ssocket);
}

int
--
function.linuxpower.ca

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:30    [from the cache]
©2003-2011 Jasper Spaans