summaryrefslogtreecommitdiffstats
path: root/fs/f2fs
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2014-12-10 15:18:34 -0800
committerJaegeuk Kim <jaegeuk@kernel.org>2015-01-09 17:02:21 -0800
commitcd52b6368f1301b55d0e484105c876930e443d83 (patch)
treeed985b102f53c1bdd9f137a1cd33fba74a563be4 /fs/f2fs
parentb3d574aec7e7aa3ed545d7faf2b2cbaa8db4ce22 (diff)
downloadop-kernel-dev-cd52b6368f1301b55d0e484105c876930e443d83.zip
op-kernel-dev-cd52b6368f1301b55d0e484105c876930e443d83.tar.gz
f2fs: remove checking dirty_exceed
We don't need to force to write dirty_exceeded for f2fs_balance_fs_bg. This flag was only meaningful to write bypassing conditions. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs')
-rw-r--r--fs/f2fs/node.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c
index f83326c..d6f073e 100644
--- a/fs/f2fs/node.c
+++ b/fs/f2fs/node.c
@@ -57,8 +57,6 @@ bool available_free_memory(struct f2fs_sb_info *sbi, int type)
} else if (type == INO_ENTRIES) {
int i;
- if (sbi->sb->s_bdi->dirty_exceeded)
- return false;
for (i = 0; i <= UPDATE_INO; i++)
mem_size += (sbi->im[i].ino_num *
sizeof(struct ino_entry)) >> PAGE_CACHE_SHIFT;
OpenPOWER on IntegriCloud