summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2017-02-11 19:46:44 +0100
committerJaegeuk Kim <jaegeuk@kernel.org>2017-02-23 19:10:53 +0100
commit9b064f7d0c9ab179b9cb18e144ab65d7ea953443 (patch)
tree689a7e9ecd91859365ca88fc53a3fd5fa5e25eb9 /fs
parentf2fs: change recovery policy of xattr node block (diff)
downloadlinux-9b064f7d0c9ab179b9cb18e144ab65d7ea953443.tar.xz
linux-9b064f7d0c9ab179b9cb18e144ab65d7ea953443.zip
f2fs: remove build_free_nids() during checkpoint
Let's avoid build_free_nids() in checkpoint path. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/f2fs/checkpoint.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c
index e6e42a4b1344..042f8d9afe44 100644
--- a/fs/f2fs/checkpoint.c
+++ b/fs/f2fs/checkpoint.c
@@ -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);
}