diff options
author | Jeff Layton <jlayton@redhat.com> | 2009-04-30 07:18:00 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2009-04-30 11:45:01 -0400 |
commit | f58841666bc22e827ca0dcef7b71c7bc2758ce82 (patch) | |
tree | 5391996d11f791a6ade2c1df1ed795be2cc6e1ab /fs/cifs/cifsproto.h | |
parent | 460b96960d1946914e50316ffeefe7b41dddce91 (diff) |
cifs: change cifs_get_name_from_search_buf to use new unicode helper
...and remove cifs_convertUCSpath. There are no more callers. Also add a
#define for the buffer used in the readdir path so that we don't have so
many magic numbers floating around.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Acked-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index 7d54a5a4dd55..fae083930eee 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h | |||
@@ -306,8 +306,6 @@ extern int CIFSGetSrvInodeNumber(const int xid, struct cifsTconInfo *tcon, | |||
306 | const unsigned char *searchName, __u64 *inode_number, | 306 | const unsigned char *searchName, __u64 *inode_number, |
307 | const struct nls_table *nls_codepage, | 307 | const struct nls_table *nls_codepage, |
308 | int remap_special_chars); | 308 | int remap_special_chars); |
309 | extern int cifs_convertUCSpath(char *target, const __le16 *source, int maxlen, | ||
310 | const struct nls_table *codepage); | ||
311 | extern int cifsConvertToUCS(__le16 *target, const char *source, int maxlen, | 309 | extern int cifsConvertToUCS(__le16 *target, const char *source, int maxlen, |
312 | const struct nls_table *cp, int mapChars); | 310 | const struct nls_table *cp, int mapChars); |
313 | 311 | ||