[PATCH][2.5] CIFS connect.c return ipv4_connect value

Zwane Mwaikambo (zwane@linuxpower.ca)
Wed, 16 Oct 2002 00:29:00 -0400 (EDT)


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/