commit | 69f801fcaa03be83d58c564f00913b7c172808e4 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Thu Apr 30 06:46:32 2009 -0400 |
committer | Steve French <sfrench@us.ibm.com> | Thu Apr 30 15:45:00 2009 +0000 |
tree | 35e359acc85bef8669b001ccb412afb96d256a82 | |
parent | 7fabf0c9479fef9fdb9528a5fbdb1cb744a744a4 [diff] |
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 <jlayton@redhat.com> Acked-by: Suresh Jayaraman <sjayaraman@suse.de> Signed-off-by: Steve French <sfrench@us.ibm.com>