From: David Howells Date: Thu, 22 Jul 2010 17:33:01 +0000 (+0100) Subject: CIFS: Make cifs_convert_address() take a const src pointer and a length X-Git-Tag: v2.6.36-rc1~505^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67b7626a0512d12e34b38ff45e32c693cf9c79a1;p=pandora-kernel.git CIFS: Make cifs_convert_address() take a const src pointer and a length Make cifs_convert_address() take a const src pointer and a length so that all the strlen() calls in their can be cut out and to make it unnecessary to modify the src string. Also return the data length from dns_resolve_server_name_to_ip() so that a strlen() can be cut out of cifs_compose_mount_options() too. Acked-by: Jeff Layton Signed-off-by: David Howells Signed-off-by: Steve French --- Reading git-diff-tree failed