mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
btrfs: Annotate fall-through when parsing mount option
This patch avoids that the compiler complains that a fall-through annotation is missing when building with W=1. Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
bece2e8239
commit
acd43e3cdf
1 changed files with 1 additions and 0 deletions
|
@ -760,6 +760,7 @@ int btrfs_parse_options(struct btrfs_fs_info *info, char *options,
|
||||||
case Opt_recovery:
|
case Opt_recovery:
|
||||||
btrfs_warn(info,
|
btrfs_warn(info,
|
||||||
"'recovery' is deprecated, use 'usebackuproot' instead");
|
"'recovery' is deprecated, use 'usebackuproot' instead");
|
||||||
|
/* fall through */
|
||||||
case Opt_usebackuproot:
|
case Opt_usebackuproot:
|
||||||
btrfs_info(info,
|
btrfs_info(info,
|
||||||
"trying to use backup root at mount time");
|
"trying to use backup root at mount time");
|
||||||
|
|
Loading…
Reference in a new issue