fs/smb/client: Use common code in client
authorDr. David Alan Gilbert <linux@treblig.org>
Thu, 17 Aug 2023 00:22:31 +0000 (01:22 +0100)
committerSteve French <stfrench@microsoft.com>
Wed, 30 Aug 2023 13:55:52 +0000 (08:55 -0500)
commitde54845290cee3f65dcd03b35a2bd7f2f7aed2ac
treef37f6f4f395fd1339f2c52881248baf248440c83
parent089f7f591348ca3325639f541fa4f78d9540dab5
fs/smb/client: Use common code in client

Now we've got the common code, use it for the client as well.
Note there's a change here where we're using the server version of
UniStrcat now which had different types (__le16 vs wchar_t) but
it's not interpreting the value other than checking for 0, however
we do need casts to keep sparse happy.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Reviewed-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/Kconfig
fs/smb/client/cifs_unicode.c
fs/smb/client/cifs_unicode.h
fs/smb/client/cifs_uniupr.h [deleted file]
fs/smb/client/smb2pdu.c