commit | 8501017e50fb7586ba522a2913ce664d6c2024f6 | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk@kernel.org> | Mon Aug 11 18:37:46 2014 -0700 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Thu Aug 21 09:21:02 2014 -0700 |
tree | bfb14ec6356d4d760553e235644be9f146462eff | |
parent | 5274651927a76c947469a589e3d2a9adbd075da6 [diff] |
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: Jaegeuk Kim <jaegeuk@kernel.org>