commit | 63c038c29774476c5dae759e348c269342b4dbef | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Mon Dec 01 18:41:46 2008 -0500 |
committer | Steve French <sfrench@us.ibm.com> | Fri Dec 26 02:29:10 2008 +0000 |
tree | 4b0a8c91403b28b174610b02a8346da39204946c | |
parent | 8ecaf67a8ea58c8f131ff045475c74e9538d6b7a [diff] |
cifs: move allocation of new TCP_Server_Info into separate function Clean up cifs_mount a bit by moving the code that creates new TCP sessions into a separate function. Have that function search for an existing socket and then create a new one if one isn't found. Also reorganize the initializion of TCP_Server_Info a bit to prepare for cleanup of the socket connection code. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>