Message ID | 20240909164535.1926830-1-daeho43@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [f2fs-dev] fsck.f2fs: remove redundant i_ext.len set to zero | expand |
On 2024/9/10 0:45, Daeho Jeong wrote: > From: Daeho Jeong <daehojeong@google.com> > > Removed a redundant code to set i_ext.len to zero. > > Signed-off-by: Daeho Jeong <daehojeong@google.com> Reviewed-by: Chao Yu <chao@kernel.org> Thanks,
diff --git a/fsck/fsck.c b/fsck/fsck.c index 7400dcf..f8607fd 100644 --- a/fsck/fsck.c +++ b/fsck/fsck.c @@ -1400,8 +1400,6 @@ skip_blkcnt_fix: } if (need_fix && f2fs_dev_is_writable()) { - if (c.zoned_model == F2FS_ZONED_HM) - node_blk->i.i_ext.len = 0; ret = update_block(sbi, node_blk, &ni->blk_addr, NULL); ASSERT(ret >= 0); }