From: Eryu Guan Date: Tue, 28 Jul 2015 19:08:41 +0000 (-0400) Subject: ext4: update c/mtime on truncate up X-Git-Tag: omap-for-v4.3/fixes-rc1~107^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=911af577de4e444622d46500c1f9a37ab4335d3a;p=pandora-kernel.git ext4: update c/mtime on truncate up Commit 3da40c7b0898 ("ext4: only call ext4_truncate when size <= isize") introduced a bug that c/mtime is not updated on truncate up. Fix the issue by setting c/mtime explicitly in the truncate up case. Note that ftruncate(2) is not affected, so you won't see this bug using truncate(1) and xfs_io(1). Signed-off-by: Zirong Lang Signed-off-by: Eryu Guan Signed-off-by: Theodore Ts'o --- Reading git-diff-tree failed