Commit 8eee39db authored by J. R. Okajima's avatar J. R. Okajima
Browse files

aufs: minor, pseudo keyword 'fallthrough'



Simply follows the mainline,
294f69e662d15 2019-10-11 compiler_attributes.h: Add 'fallthrough' pseudo keyword for switch/case use
Signed-off-by: default avatarJ. R. Okajima <hooanon05g@gmail.com>
parent 976adcc3
...@@ -696,7 +696,7 @@ int cpup_entry(struct au_cp_generic *cpg, struct dentry *dst_parent, ...@@ -696,7 +696,7 @@ int cpup_entry(struct au_cp_generic *cpg, struct dentry *dst_parent,
case S_IFCHR: case S_IFCHR:
case S_IFBLK: case S_IFBLK:
AuDebugOn(!capable(CAP_MKNOD)); AuDebugOn(!capable(CAP_MKNOD));
/*FALLTHROUGH*/ fallthrough;
case S_IFIFO: case S_IFIFO:
case S_IFSOCK: case S_IFSOCK:
err = vfsub_mknod(h_dir, &h_path, mode, h_inode->i_rdev); err = vfsub_mknod(h_dir, &h_path, mode, h_inode->i_rdev);
......
...@@ -571,7 +571,7 @@ int au_hnotify(struct inode *h_dir, struct au_hnotify *hnotify, u32 mask, ...@@ -571,7 +571,7 @@ int au_hnotify(struct inode *h_dir, struct au_hnotify *hnotify, u32 mask,
case FS_MOVED_TO: case FS_MOVED_TO:
au_fset_hnjob(flags[AuHn_CHILD], XINO0); au_fset_hnjob(flags[AuHn_CHILD], XINO0);
au_fset_hnjob(flags[AuHn_CHILD], MNTPNT); au_fset_hnjob(flags[AuHn_CHILD], MNTPNT);
/*FALLTHROUGH*/ fallthrough;
case FS_CREATE: case FS_CREATE:
AuDebugOn(!h_child_name); AuDebugOn(!h_child_name);
break; break;
......
...@@ -494,7 +494,7 @@ au_wbr_create_val(char *str, struct au_opt_wbr_create *create) ...@@ -494,7 +494,7 @@ au_wbr_create_val(char *str, struct au_opt_wbr_create *create)
err = e; err = e;
break; break;
} }
/*FALLTHROUGH*/ fallthrough;
case AuWbrCreate_MFS: case AuWbrCreate_MFS:
case AuWbrCreate_PMFS: case AuWbrCreate_PMFS:
create->mfs_second = AUFS_MFS_DEF_SEC; create->mfs_second = AUFS_MFS_DEF_SEC;
...@@ -1226,7 +1226,7 @@ int au_opts_parse(struct super_block *sb, char *str, struct au_opts *opts) ...@@ -1226,7 +1226,7 @@ int au_opts_parse(struct super_block *sb, char *str, struct au_opts *opts)
case Opt_ignore: case Opt_ignore:
pr_warn("ignored %s\n", opt_str); pr_warn("ignored %s\n", opt_str);
/*FALLTHROUGH*/ fallthrough;
case Opt_ignore_silent: case Opt_ignore_silent:
skipped = 1; skipped = 1;
err = 0; err = 0;
...@@ -1282,7 +1282,7 @@ static int au_opt_wbr_create(struct super_block *sb, ...@@ -1282,7 +1282,7 @@ static int au_opt_wbr_create(struct super_block *sb,
case AuWbrCreate_PMFSRR: case AuWbrCreate_PMFSRR:
case AuWbrCreate_PMFSRRV: case AuWbrCreate_PMFSRRV:
sbinfo->si_wbr_mfs.mfsrr_watermark = create->mfsrr_watermark; sbinfo->si_wbr_mfs.mfsrr_watermark = create->mfsrr_watermark;
/*FALLTHROUGH*/ fallthrough;
case AuWbrCreate_MFS: case AuWbrCreate_MFS:
case AuWbrCreate_MFSV: case AuWbrCreate_MFSV:
case AuWbrCreate_PMFS: case AuWbrCreate_PMFS:
...@@ -1502,7 +1502,7 @@ static int au_opt_br(struct super_block *sb, struct au_opt *opt, ...@@ -1502,7 +1502,7 @@ static int au_opt_br(struct super_block *sb, struct au_opt *opt,
/* Always goto add, not fallthrough */ /* Always goto add, not fallthrough */
case Opt_prepend: case Opt_prepend:
opt->add.bindex = 0; opt->add.bindex = 0;
/* fallthrough */ fallthrough;
add: /* indented label */ add: /* indented label */
case Opt_add: case Opt_add:
err = au_br_add(sb, &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