From: Jaegeuk Kim Date: Thu, 15 Jan 2015 00:34:24 +0000 (-0800) Subject: f2fs: trigger correct checkpoint during umount X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~98^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30a5537f9a9e91937aad6a47f55683f7ce0be257;p=pandora-kernel.git f2fs: trigger correct checkpoint during umount This patch fixes to trigger checkpoint with umount flag when kill_sb was called. In kill_sb, f2fs_sync_fs was finally called, but at this time, f2fs can't do checkpoint with CP_UMOUNT. After then, f2fs_put_super is not doing checkpoint, since it is not dirty. So, this patch adds a flag to indicate f2fs_sync_fs is called during umount. Reviewed-by: Chao Yu Signed-off-by: Jaegeuk Kim --- Reading git-diff-tree failed