OSDN Git Service

ext2: Annotate implicit fall through in __ext2_truncate_blocks
authorMathieu Malaterre <malat@debian.org>
Thu, 24 Jan 2019 18:05:04 +0000 (19:05 +0100)
committerJan Kara <jack@suse.cz>
Mon, 28 Jan 2019 14:50:45 +0000 (15:50 +0100)
commitf068ebd13bf3682875814f15a654e023af7a9c3b
tree2aed8d1491bb6bf665087df557c621d87102062a
parent032cdc39793fc814d78d7302c3e81048a76f3da5
ext2: Annotate implicit fall through in __ext2_truncate_blocks

There is a plan to build the kernel with -Wimplicit-fallthrough and
these places in the code produced warnings (W=1).

This commit removes the following warnings:

  fs/ext2/inode.c:1237:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
  fs/ext2/inode.c:1244:7: warning: this statement may fall through [-Wimplicit-fallthrough=]

Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext2/inode.c