From: Jaegeuk Kim Date: Wed, 10 Dec 2014 23:18:34 +0000 (-0800) Subject: f2fs: remove checking dirty_exceed X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=cd52b6368f1301b55d0e484105c876930e443d83;p=linux-beck.git 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 --- diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index f83326ca32ef..d6f073edd861 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;