Commit 5a150bde authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Theodore Ts'o

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/115Signed-off-by: default avatarGustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/03497331f088a938d7a728e7a689bd7953139429.1605896059.git.gustavoars@kernel.orgSigned-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent b1b7dce3
...@@ -4878,6 +4878,7 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent) ...@@ -4878,6 +4878,7 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent)
"requested data journaling mode"); "requested data journaling mode");
goto failed_mount_wq; goto failed_mount_wq;
} }
break;
default: default:
break; break;
} }
......
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