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)
commit066ce6899484d9026acd6ba3a8dbbedb33d7ae1b
treee052f744476e4043ae183d3731138354a1ab307a
parent69f801fcaa03be83d58c564f00913b7c172808e4
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