Commit 36fe8858 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] smbfs NLS fix

strut nls_table was changed, but smbfs uses it and was not updated.
parent fd5e34d6
...@@ -212,12 +212,9 @@ static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) ...@@ -212,12 +212,9 @@ static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni)
} }
static struct nls_table unicode_table = { static struct nls_table unicode_table = {
"unicode", .charset = "unicode",
uni2char, .uni2char = uni2char,
char2uni, .char2uni = char2uni,
NULL, /* not used by smbfs */
NULL,
NULL, /* not a module */
}; };
/* ----------------------------------------------------------- */ /* ----------------------------------------------------------- */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment