summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsproto.h
diff options
context:
space:
mode:
authorSteve French <stevef@stevef95>2005-05-17 23:07:23 +0200
committerSteve French <stevef@stevef95>2005-05-17 23:07:23 +0200
commitb1a45695bde0204597957e448923f09ce271ca80 (patch)
tree96e82946fffd1105741dc99c886d92753ddac0ee /fs/cifs/cifsproto.h
parent[CIFS] Fix oops in cifs_unlink. Caused in some cases when renaming over exis... (diff)
downloadlinux-b1a45695bde0204597957e448923f09ce271ca80.tar.xz
linux-b1a45695bde0204597957e448923f09ce271ca80.zip
[CIFS] fix casts of unicode strings to match function definition
Signed-off-by: Steve French (sfrench@us.ibm.com)
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r--fs/cifs/cifsproto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h
index 0010511083fc..ea239dea571e 100644
--- a/fs/cifs/cifsproto.h
+++ b/fs/cifs/cifsproto.h
@@ -228,7 +228,7 @@ extern int CIFSGetSrvInodeNumber(const int xid, struct cifsTconInfo *tcon,
const struct nls_table *nls_codepage,
int remap_special_chars);
#endif /* CONFIG_CIFS_EXPERIMENTAL */
-extern int cifs_convertUCSpath(char *target, const __u16 *source, int maxlen,
+extern int cifs_convertUCSpath(char *target, const __le16 *source, int maxlen,
const struct nls_table * codepage);
extern int cifsConvertToUCS(__le16 * target, const char *source, int maxlen,
const struct nls_table * cp, int mapChars);