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

Skip to content
Commit 8501017e authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

f2fs: check s_dirty under cp_mutex



It needs to check s_dirty under cp_mutex, since s_dirty is reset under that
mutex.
And previous condition was not correct, since we can omit doing checkpoint
when checkpoint was done followed by all the node pages were written back.

Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 52746519
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