]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: rename cifs_strlcpy_to_host and make it use new functions
authorJeff Layton <jlayton@redhat.com>
Thu, 30 Apr 2009 11:16:14 +0000 (07:16 -0400)
committerSteve French <sfrench@us.ibm.com>
Thu, 30 Apr 2009 15:45:00 +0000 (15:45 +0000)
commit13a7987d936648d7bbdff321e65a7298a92d158f
treee052f744476e4043ae183d3731138354a1ab307a
parent8f73cdda5a9973a786e78c1c5ae6018e09919598
cifs: rename cifs_strlcpy_to_host and make it use new functions

Rename cifs_strlcpy_to_host to cifs_strndup since that better describes
what this function really does. Then, convert it to use the new string
conversion and measurement functions that work in units of bytes rather
than wide chars.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Acked-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifs_unicode.c
fs/cifs/cifs_unicode.h
fs/cifs/cifssmb.c