Skip to contentSkip to conversation

fsck.f2fs: treat xattr node block as warm type node

PATCH New Chao Yu 1 participant 1 message Jan 6, 2015

lore
Share & tools
lore

Chao Yu

author
#0 lore raw

PATCH 1/1 fsck.f2fs: treat xattr node block as warm type node

Treat xattr node block as warm type node in fsck.

---
 fsck/fsck.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fsck/fsck.c +1 -1
index 09bb26f..7f03281 100644
@@ -303,7 +303,7 @@ static int fsck_chk_xattr_blk(struct f2fs_sb_info *sbi, u32 ino,
 	}
 
 	*blk_cnt = *blk_cnt + 1;
-	f2fs_set_main_bitmap(sbi, ni.blk_addr, CURSEG_COLD_NODE);
+	f2fs_set_main_bitmap(sbi, ni.blk_addr, CURSEG_WARM_NODE);
 	DBG(2, "ino[0x%x] x_nid[0x%x]\n", ino, x_nid);
 out:
 	free(node_blk);
Signature · 10 lines
2.2.1



------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net