summaryrefslogtreecommitdiffstats
path: root/fs/sysfs
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2009-04-30 12:46:32 +0200
committerSteve French <sfrench@us.ibm.com>2009-04-30 17:45:00 +0200
commit69f801fcaa03be83d58c564f00913b7c172808e4 (patch)
tree35e359acc85bef8669b001ccb412afb96d256a82 /fs/sysfs
parentcifs: add replacement for cifs_strtoUCS_le called cifs_from_ucs2 (diff)
downloadlinux-69f801fcaa03be83d58c564f00913b7c172808e4.tar.xz
linux-69f801fcaa03be83d58c564f00913b7c172808e4.zip
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>
Diffstat (limited to 'fs/sysfs')
0 files changed, 0 insertions, 0 deletions