From: Jeff Layton Date: Thu, 30 Apr 2009 10:46:32 +0000 (-0400) Subject: cifs: add new function to get unicode string length in bytes X-Git-Tag: v2.6.30-rc5~6^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69f801fcaa03be83d58c564f00913b7c172808e4;p=pandora-kernel.git cifs: add new function to get unicode string length in bytes Working in units of words means we do a lot of unnecessary conversion back and forth. Standardize on bytes instead since that's more useful for allocating buffers and such. Also, remove hostlen_fromUCS since the new function has a similar purpose. Signed-off-by: Jeff Layton Acked-by: Suresh Jayaraman Signed-off-by: Steve French --- Reading git-diff-tree failed