]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: add replacement for cifs_strtoUCS_le called cifs_from_ucs2
authorJeff Layton <jlayton@redhat.com>
Thu, 30 Apr 2009 10:46:15 +0000 (06:46 -0400)
committerSteve French <sfrench@us.ibm.com>
Thu, 30 Apr 2009 15:44:59 +0000 (15:44 +0000)
commit8bcb94f9612b88b0e1e7134faa64a4ef8350081b
treea44ab17abeefb87a623d62c344d4aa4b4f1a4b7f
parent3963e4d3553203c71725bf7e93fc8aecb865a880
cifs: add replacement for cifs_strtoUCS_le called cifs_from_ucs2

Add a replacement function for cifs_strtoUCS_le. cifs_from_ucs2
takes args for the source and destination length so that we can ensure
that the function is confined within the intended buffers.

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