Eryu Guan 911af577de 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 <zorro.lang@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2015-07-28 15:08:41 -04:00
..
2015-04-02 23:47:42 -04:00
2015-04-02 23:47:42 -04:00
2014-09-11 11:15:15 -04:00
2015-06-30 20:16:08 -07:00
2015-04-02 23:47:42 -04:00
2015-07-28 15:08:41 -04:00
2015-07-09 11:42:21 -07:00
2014-02-20 13:32:10 -05:00
2015-05-02 23:58:32 -04:00