David van Moolenbroek 26f817243b VFS: reimplement truncate mtime/ctime fix
POSIX mandates that a file's modification and change time be left
untouched upon truncate/ftruncate iff the file size does not change.
However, an open(O_TRUNC) call must always update the modification and
change time of the file, even if it was already zero-sized. VFS uses
the file systems' truncate call to implement O_TRUNC. This patch
replaces git-255ae85, which did not take into account the open case.
The size check is now moved into VFS, so that individual file systems
need not check for this case anymore.
2012-04-20 11:35:59 +02:00
..
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 16:17:10 +02:00
2012-04-16 05:21:21 +02:00
run
2012-04-20 11:34:56 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2011-04-21 13:18:00 +00:00
2011-04-21 13:18:00 +00:00
2011-04-21 13:18:00 +00:00
2011-11-14 10:07:49 +00:00
2011-11-28 10:03:43 +00:00
2011-11-28 10:03:43 +00:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 21:58:27 +02:00
2012-03-25 16:17:10 +02:00
2011-04-21 13:18:00 +00:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2011-12-07 15:17:38 +00:00
2011-12-21 12:59:22 +00:00
2012-03-25 21:58:26 +02:00
2012-03-25 16:17:10 +02:00
2012-03-16 17:06:24 +01:00
2012-03-25 21:58:26 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-02-17 17:22:37 +00:00
2011-11-28 10:07:55 +00:00
2011-11-28 10:07:55 +00:00
2011-11-14 10:07:49 +00:00
2012-02-02 10:47:06 +00:00
2010-08-05 13:35:41 +00:00
2012-03-25 16:17:10 +02:00
2012-03-25 21:58:14 +02:00
2011-11-28 10:03:43 +00:00
2012-04-12 02:55:04 +02:00
2012-04-16 16:04:44 +02:00
2012-02-16 12:10:39 +00:00