[linux-yocto] [PATCH 1/2 linux-yocto-dev all branches] aufs: bugfix, opts: Fix missing break statement
zhe.he at windriver.com
zhe.he at windriver.com
Tue Sep 3 00:28:03 PDT 2019
From: He Zhe <zhe.he at windriver.com>
commit 4a80018d718f6be2e862d0c70bb11cd6e6d1fae5 upstream
Add missing break statement for case Opt_wsum in au_opt_simple.
Signed-off-by: He Zhe <zhe.he at windriver.com>
See-also: https://www.mail-archive.com/aufs-users@lists.sourceforge.net/msg05684.html
(cherry picked from commit 9e7d29356ab57fa5db7e92e51267176e50c1497c)
---
fs/aufs/opts.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/aufs/opts.c b/fs/aufs/opts.c
index a089b8e..d370108 100644
--- a/fs/aufs/opts.c
+++ b/fs/aufs/opts.c
@@ -1373,6 +1373,7 @@ static int au_opt_simple(struct super_block *sb, struct au_opt *opt,
case Opt_wsum:
au_opt_clr(sbinfo->si_mntflags, SUM);
au_opt_set(sbinfo->si_mntflags, SUM_W);
+ break;
case Opt_nosum:
au_opt_clr(sbinfo->si_mntflags, SUM);
au_opt_clr(sbinfo->si_mntflags, SUM_W);
--
2.7.4
More information about the linux-yocto
mailing list