commit | 066ce6899484d9026acd6ba3a8dbbedb33d7ae1b | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Thu Apr 30 07:16:14 2009 -0400 |
committer | Steve French <sfrench@us.ibm.com> | Thu Apr 30 15:45:00 2009 +0000 |
tree | e052f744476e4043ae183d3731138354a1ab307a | |
parent | 69f801fcaa03be83d58c564f00913b7c172808e4 [diff] |
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>