[CIFS] rename cifs_strndup to cifs_strndup_from_ucs
authorSteve French <sfrench@us.ibm.com>
Thu, 30 Apr 2009 17:45:10 +0000 (17:45 +0000)
committerSteve French <sfrench@us.ibm.com>
Thu, 30 Apr 2009 17:45:10 +0000 (17:45 +0000)
commitd185cda7712fd1d9e349174639d76eadc66679be
tree6f72704ac0d107b0d53f7ee0be7ddb4d2b34e552
parent5c2503a8e339fbc82f49d5706c5a4ad650dd9711
[CIFS] rename cifs_strndup to cifs_strndup_from_ucs

In most cases, cifs_strndup is converting from Unicode (UCS2 / UTF-32) to
the configured local code page for the Linux mount (usually UTF8), so
Jeff suggested that to make it more clear that cifs_strndup is doing
a conversion not just memory allocation and copy, rename the function
to including "from_ucs" (ie Unicode)

Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/CHANGES
fs/cifs/cifs_unicode.c
fs/cifs/cifs_unicode.h
fs/cifs/cifssmb.c
fs/cifs/connect.c
fs/cifs/sess.c