diff options
author | Pavel Shilovsky <piastry@etersoft.ru> | 2011-12-26 13:58:46 -0500 |
---|---|---|
committer | Pavel Shilovsky <pshilovsky@samba.org> | 2012-07-24 13:55:05 -0400 |
commit | 2503a0dba989486c59523a947a1dcb50ad90fee9 (patch) | |
tree | 1e79a740d744cee1a1981e4d0a355303ffc9a4d2 /fs/cifs/cifs_unicode.h | |
parent | 68889f269b16a11866f4ec71e8177bdd0c184a3f (diff) |
CIFS: Add SMB2 support for is_path_accessible
that needs for a successful mount through SMB2 protocol.
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifs_unicode.h')
-rw-r--r-- | fs/cifs/cifs_unicode.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/cifs/cifs_unicode.h b/fs/cifs/cifs_unicode.h index a44c6eb8a4d7..4fb097468e21 100644 --- a/fs/cifs/cifs_unicode.h +++ b/fs/cifs/cifs_unicode.h | |||
@@ -84,6 +84,11 @@ char *cifs_strndup_from_utf16(const char *src, const int maxlen, | |||
84 | const struct nls_table *codepage); | 84 | const struct nls_table *codepage); |
85 | extern int cifsConvertToUTF16(__le16 *target, const char *source, int maxlen, | 85 | extern int cifsConvertToUTF16(__le16 *target, const char *source, int maxlen, |
86 | const struct nls_table *cp, int mapChars); | 86 | const struct nls_table *cp, int mapChars); |
87 | #ifdef CONFIG_CIFS_SMB2 | ||
88 | extern __le16 *cifs_strndup_to_utf16(const char *src, const int maxlen, | ||
89 | int *utf16_len, const struct nls_table *cp, | ||
90 | int remap); | ||
91 | #endif /* CONFIG_CIFS_SMB2 */ | ||
87 | #endif | 92 | #endif |
88 | 93 | ||
89 | /* | 94 | /* |