VisionFive2 Linux kernel

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

More than 9999 Commits   32 Branches   54 Tags
author: Al Viro <viro@zeniv.linux.org.uk> 2019-12-16 13:45:41 -0500 committer: Al Viro <viro@zeniv.linux.org.uk> 2020-02-07 14:47:52 -0500 commit: 34264ae3fa22429ec4fd9151602342d1f21486eb parent: 5eede625297f4d21dc12ea7a7418fd21672f131d
Commit Summary:
don't bother with explicit length argument for __lookup_constant()
Diffstat:
1 file changed, 2 insertions, 0 deletions
diff --git a/fs/fs_context.c b/fs/fs_context.c
index 9097421cbba5..ea97a2411e83 100644
--- a/fs/fs_context.c
+++ b/fs/fs_context.c
@@ -45,6 +45,7 @@ static const struct constant_table common_set_sb_flag[] = {
 	{ "posixacl",	SB_POSIXACL },
 	{ "ro",		SB_RDONLY },
 	{ "sync",	SB_SYNCHRONOUS },
+	{ },
 };
 
 static const struct constant_table common_clear_sb_flag[] = {
@@ -53,6 +54,7 @@ static const struct constant_table common_clear_sb_flag[] = {
 	{ "nomand",	SB_MANDLOCK },
 	{ "rw",		SB_RDONLY },
 	{ "silent",	SB_SILENT },
+	{ },
 };
 
 static const char *const forbidden_sb_flag[] = {