f2fs: remove build_free_nids() during checkpoint
authorJaegeuk Kim <jaegeuk@kernel.org>
Sat, 11 Feb 2017 18:46:44 +0000 (10:46 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 23 Feb 2017 18:10:53 +0000 (10:10 -0800)
Let's avoid build_free_nids() in checkpoint path.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c

index e6e42a4b13444c8580330205f142d9e43d609f96..042f8d9afe44817cee00412aa169476562782e53 100644 (file)
@@ -999,8 +999,6 @@ out:
 static void unblock_operations(struct f2fs_sb_info *sbi)
 {
        up_write(&sbi->node_write);
-
-       build_free_nids(sbi, false);
        f2fs_unlock_all(sbi);
 }