Commit 74c96076 authored by J. R. Okajima's avatar J. R. Okajima
Browse files

Merge branch 'aufs5.2/00base' into aufs5.x-rcN/00base

parents 90ff497c d572a4a2
......@@ -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);
......@@ -1498,8 +1499,10 @@ static int au_opt_br(struct super_block *sb, struct au_opt *opt,
if (opt->add.bindex < 0)
opt->add.bindex = 0;
goto add;
/* Always goto add, not fallthrough */
case Opt_prepend:
opt->add.bindex = 0;
/* fallthrough */
add: /* indented label */
case Opt_add:
err = au_br_add(sb, &opt->add,
......
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