From: Jaegeuk Kim Date: Tue, 12 Aug 2014 01:37:46 +0000 (-0700) Subject: f2fs: check s_dirty under cp_mutex X-Git-Tag: fixes-v3.17-rc4~30^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8501017e50fb7586ba522a2913ce664d6c2024f6;p=pandora-kernel.git 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 --- Reading git-diff-tree failed