]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit1b67cf250f0318e0c9724ceb1e1817ca524a2054
tree6f72704ac0d107b0d53f7ee0be7ddb4d2b34e552
parent6495e71a034d4bb6df43ebf94ae333a381d8effb
[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