* [f2fs-dev] [PATCH] fsck.f2fs: remove redundant i_ext.len set to zero
@ 2024-09-09 16:45 Daeho Jeong
2024-09-11 1:55 ` Chao Yu via Linux-f2fs-devel
0 siblings, 1 reply; 2+ messages in thread
From: Daeho Jeong @ 2024-09-09 16:45 UTC (permalink / raw)
To: linux-kernel, linux-f2fs-devel, kernel-team; +Cc: Daeho Jeong
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>
---
fsck/fsck.c | 2 --
1 file changed, 2 deletions(-)
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);
}
--
2.46.0.598.g6f2099f65c-goog
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-09-11 1:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-09 16:45 [f2fs-dev] [PATCH] fsck.f2fs: remove redundant i_ext.len set to zero Daeho Jeong
2024-09-11 1:55 ` Chao Yu via Linux-f2fs-devel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).