summaryrefslogtreecommitdiff
path: root/fs/cifs/smb2proto.h
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2022-03-22 09:29:02 +0300
committerSteve French <stfrench@microsoft.com>2022-03-23 23:17:22 +0300
commit5e0c969e9ed23745251ce8114778b7fad66df434 (patch)
tree0e3801cd26b6fff8309be96154e65c9b0cf45347 /fs/cifs/smb2proto.h
parent70ef38515b664a14a3c8a3007778a56ccd02d43f (diff)
downloadlinux-5e0c969e9ed23745251ce8114778b7fad66df434.tar.xz
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>
Diffstat (limited to 'fs/cifs/smb2proto.h')
-rw-r--r--fs/cifs/smb2proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/smb2proto.h b/fs/cifs/smb2proto.h
index 4a7062fd1c26..a69f1eed1cfe 100644
--- a/fs/cifs/smb2proto.h
+++ b/fs/cifs/smb2proto.h
@@ -283,7 +283,7 @@ extern int smb311_update_preauth_hash(struct cifs_ses *ses,
struct kvec *iov, int nvec);
extern int smb2_query_info_compound(const unsigned int xid,
struct cifs_tcon *tcon,
- __le16 *utf16_path, u32 desired_access,
+ const char *path, u32 desired_access,
u32 class, u32 type, u32 output_len,
struct kvec *rsp, int *buftype,
struct cifs_sb_info *cifs_sb);