VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Sasha Levin <sasha.levin@oracle.com> 2015-05-28 15:44:29 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2015-05-28 18:25:18 -0700 commit: dcbff39da3d815f08750552fdd04f96b51751129 parent: cd4e6c91a114a23b0b8d61d460a2d1d14e3b45f4
Commit Summary:
fs, omfs: add NULL terminator in the end up the token list
Diffstat:
1 file changed, 2 insertions, 1 deletion
diff --git a/fs/omfs/inode.c b/fs/omfs/inode.c
index 138321b0c6c2..70d4191cf33d 100644
--- a/fs/omfs/inode.c
+++ b/fs/omfs/inode.c
@@ -359,7 +359,7 @@ nomem:
 }
 
 enum {
-	Opt_uid, Opt_gid, Opt_umask, Opt_dmask, Opt_fmask
+	Opt_uid, Opt_gid, Opt_umask, Opt_dmask, Opt_fmask, Opt_err
 };
 
 static const match_table_t tokens = {
@@ -368,6 +368,7 @@ static const match_table_t tokens = {
 	{Opt_umask, "umask=%o"},
 	{Opt_dmask, "dmask=%o"},
 	{Opt_fmask, "fmask=%o"},
+	{Opt_err, NULL},
 };
 
 static int parse_options(char *options, struct omfs_sb_info *sbi)