diff options
author | 2015-07-28 15:08:41 -0400 | |
---|---|---|
committer | 2015-07-28 15:08:41 -0400 | |
commit | 911af577de4e444622d46500c1f9a37ab4335d3a (patch) | |
tree | 5261fa696f6c26f21202578b08888b0b17077deb /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | jbd2: avoid infinite loop when destroying aborted journal (diff) | |
download | wireguard-linux-911af577de4e444622d46500c1f9a37ab4335d3a.tar.xz wireguard-linux-911af577de4e444622d46500c1f9a37ab4335d3a.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions