projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bece2e8
)
btrfs: Annotate fall-through when parsing mount option
author
Bart Van Assche
<bart.vanassche@wdc.com>
Wed, 20 Jun 2018 17:03:32 +0000
(10:03 -0700)
committer
David Sterba
<dsterba@suse.com>
Mon, 6 Aug 2018 11:12:31 +0000
(13:12 +0200)
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>
fs/btrfs/super.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/super.c
b/fs/btrfs/super.c
index 81107ad49f3a9c75eccf2c95f9dad8d7d0a0a6f6..3e298f26a38300e014695997011d8ba47a4ac464 100644
(file)
--- a/
fs/btrfs/super.c
+++ b/
fs/btrfs/super.c
@@
-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");