Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 029cd28c authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

f2fs: fix equation of has_not_enough_free_secs()



Practically, has_not_enough_free_secs() should calculate with the numbers of
current node and directory data blocks together.
Actually the equation was implemented in need_to_flush().

So, this patch removes need_flush() and moves the equation into
has_not_enough_free_secs().

Signed-off-by: default avatarJaegeuk Kim <jaegeuk.kim@samsung.com>
parent f58ad8f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment