Re: [PATCH] cifs: add missing unicode handling routines needed for smb2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Forgot to cc the list.

On Mon, Mar 7, 2011 at 9:10 AM, Steve French <smfrench@xxxxxxxxx> wrote:
> On Sun, Mar 6, 2011 at 10:46 PM, Shirish Pargaonkar
> <shirishpargaonkar@xxxxxxxxx> wrote:
>>
>> Steve, like local crypto functions were changed to linux crypto APIs,
>> should converting unicode functions local to cifs to unicode APIs (if
>> they exist)
>> be looked at, sometimes down the road?
>
Yes that is done.  The smb2 routines are now
using the cifs unicode APIs but there were two
differences (we may find a few other helpers we have to add
later), so I added to cifs_unicode.c two small
helper routines for calculating the unicode string length and for
unicode string copy (internally they use the cifs unicode
functions).

Also note that SMB2 is unicode only, so the interface to these
two is a little simpler.

Thanks,

Steve




-- 
Thanks,

Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux