mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
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>
This commit is contained in:
parent
b3d574aec7
commit
cd52b6368f
1 changed files with 0 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue