From: Jeff Layton Date: Mon, 1 Dec 2008 23:41:46 +0000 (-0500) Subject: cifs: move allocation of new TCP_Server_Info into separate function X-Git-Tag: v2.6.29-rc1~582^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63c038c29774476c5dae759e348c269342b4dbef;p=pandora-kernel.git 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 Signed-off-by: Steve French --- Reading git-diff-tree failed