mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04: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 <[email protected]> Signed-off-by: David Sterba <[email protected]>
This commit is contained in:
1 parent
bece2e8239
commit
acd43e3cdf
1 file changed
+1
@@ -760,6 +760,7 @@ int btrfs_parse_options(struct btrfs_fs_info *info, char *options,
|
||||
case Opt_recovery:
|
||||
btrfs_warn(info,
|
||||
"'recovery' is deprecated, use 'usebackuproot' instead");
|
||||
/* fall through */
|
||||
case Opt_usebackuproot:
|
||||
btrfs_info(info,
|
||||
"trying to use backup root at mount time");
|
||||
|
||||
Reference in new issue
Block a user