cifs: convert the path to utf16 in smb2_query_info_compound
authorRonnie Sahlberg <lsahlber@redhat.com>
Tue, 22 Mar 2022 06:29:02 +0000 (16:29 +1000)
committerSteve French <stfrench@microsoft.com>
Wed, 23 Mar 2022 20:17:22 +0000 (15:17 -0500)
commit5e0c969e9ed23745251ce8114778b7fad66df434
tree0e3801cd26b6fff8309be96154e65c9b0cf45347
parent70ef38515b664a14a3c8a3007778a56ccd02d43f
cifs: convert the path to utf16 in smb2_query_info_compound

and not in the callers.

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2ops.c
fs/cifs/smb2proto.h