Commit 19067de8 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] befs oops fix

Need to null-terminate that table.
parent b3ddccf3
...@@ -673,14 +673,15 @@ befs_nls2utf(struct super_block *sb, const char *in, ...@@ -673,14 +673,15 @@ befs_nls2utf(struct super_block *sb, const char *in,
* *
*/ */
enum { enum {
Opt_uid, Opt_gid, Opt_charset, Opt_debug, Opt_uid, Opt_gid, Opt_charset, Opt_debug, Opt_err,
}; };
static match_table_t befs_tokens = { static match_table_t befs_tokens = {
{Opt_uid, "uid=%d"}, {Opt_uid, "uid=%d"},
{Opt_gid, "gid=%d"}, {Opt_gid, "gid=%d"},
{Opt_charset, "iocharset=%s"}, {Opt_charset, "iocharset=%s"},
{Opt_debug, "debug"} {Opt_debug, "debug"},
{Opt_err, NULL}
}; };
static int static int
......
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