From: Jeff Layton Date: Mon, 1 Dec 2008 20:23:50 +0000 (-0500) Subject: cifs: account for IPv6 in ses->serverName and clean up netbios name handling X-Git-Tag: v2.6.29-rc1~582^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ecaf67a8ea58c8f131ff045475c74e9538d6b7a;p=pandora-kernel.git cifs: account for IPv6 in ses->serverName and clean up netbios name handling The current code for setting the session serverName is IPv4-specific. Allow it to be an IPv6 address as well. Use NIP* macros to set the format. This also entails increasing the length of the serverName field, so declare a new macro for RFC1001 name length and use it in the appropriate places. Finally, drop the unicode_server_Name field from TCP_Server_Info since it's not used. We can add it back later if needed, but for now it just wastes memory. Signed-off-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed