diff options
author | Shijie Luo <luoshijie1@huawei.com> | 2020-08-10 07:44:35 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2020-08-18 14:27:40 -0400 |
commit | 70d7ced2ed4dc3f7f21b4f4fec0e5be5c2a5a55c (patch) | |
tree | 5078addd8d9cb265ad1d925aedd4c9bb4f99ba8e /fs/ext4/readpage.c | |
parent | 2fe34d2938181b26f86bceb7b87fbf7370bd92c4 (diff) | |
download | linux-70d7ced2ed4dc3f7f21b4f4fec0e5be5c2a5a55c.tar.bz2 |
ext4: change to use fallthrough macro
Change to use fallthrough macro in switch case.
Signed-off-by: Shijie Luo <luoshijie1@huawei.com>
Reviewed-by: Ritesh Harjani <riteshh@linux.ibm.com>
Link: https://lore.kernel.org/r/20200810114435.24182-1-luoshijie1@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/readpage.c')
-rw-r--r-- | fs/ext4/readpage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/readpage.c b/fs/ext4/readpage.c index 5761e9961682..153a838e9e3c 100644 --- a/fs/ext4/readpage.c +++ b/fs/ext4/readpage.c @@ -140,7 +140,7 @@ static void bio_post_read_processing(struct bio_post_read_ctx *ctx) return; } ctx->cur_step++; - /* fall-through */ + fallthrough; case STEP_VERITY: if (ctx->enabled_steps & (1 << STEP_VERITY)) { INIT_WORK(&ctx->work, verity_work); @@ -148,7 +148,7 @@ static void bio_post_read_processing(struct bio_post_read_ctx *ctx) return; } ctx->cur_step++; - /* fall-through */ + fallthrough; default: __read_end_io(ctx->bio); } |