aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2020-11-20 12:28:32 -0600
committerTheodore Ts'o <tytso@mit.edu>2020-12-17 13:30:45 -0500
commit5a150bdec7dc79ad88e61cdf8c13106dd878311e (patch)
treec8cec2759daf85462b00afc568aa1be2bc858f66 /fs/ext4
parentext4: add docs about fast commit idempotence (diff)
downloadlinux-dev-5a150bdec7dc79ad88e61cdf8c13106dd878311e.tar.xz
linux-dev-5a150bdec7dc79ad88e61cdf8c13106dd878311e.zip
ext4: fix fall-through warnings for Clang
In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning by explicitly adding a break statement instead of just letting the code fall through to the next case. Link: https://github.com/KSPP/linux/issues/115 Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Link: https://lore.kernel.org/r/03497331f088a938d7a728e7a689bd7953139429.1605896059.git.gustavoars@kernel.org Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4')
-rw-r--r--fs/ext4/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 4a16bbf0432c..872d45a131ca 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -4878,6 +4878,7 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent)
"requested data journaling mode");
goto failed_mount_wq;
}
+ break;
default:
break;
}