aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'fs/f2fs/segment.c')
-rw-r--r--fs/f2fs/segment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c
index d9e2e656764d..bfc597037413 100644
--- a/fs/f2fs/segment.c
+++ b/fs/f2fs/segment.c
@@ -4551,7 +4551,7 @@ static void init_dirty_segmap(struct f2fs_sb_info *sbi)
4551 return; 4551 return;
4552 4552
4553 mutex_lock(&dirty_i->seglist_lock); 4553 mutex_lock(&dirty_i->seglist_lock);
4554 for (segno = 0; segno < MAIN_SECS(sbi); segno += blks_per_sec) { 4554 for (segno = 0; segno < MAIN_SEGS(sbi); segno += sbi->segs_per_sec) {
4555 valid_blocks = get_valid_blocks(sbi, segno, true); 4555 valid_blocks = get_valid_blocks(sbi, segno, true);
4556 secno = GET_SEC_FROM_SEG(sbi, segno); 4556 secno = GET_SEC_FROM_SEG(sbi, segno);
4557 4557