Skip to content

Commit 5a150bd

Browse files
GustavoARSilvatytso
authored andcommitted
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: KSPP/linux#115 Signed-off-by: Gustavo A. R. Silva <[email protected]> Link: https://lore.kernel.org/r/03497331f088a938d7a728e7a689bd7953139429.1605896059.git.gustavoars@kernel.org Signed-off-by: Theodore Ts'o <[email protected]>
1 parent b1b7dce commit 5a150bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/ext4/super.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4878,6 +4878,7 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent)
48784878
"requested data journaling mode");
48794879
goto failed_mount_wq;
48804880
}
4881+
break;
48814882
default:
48824883
break;
48834884
}

0 commit comments

Comments
 (0)