minix/servers/ext2
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
..
balloc.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
buf.h increase system-wide filename limit to 255 2011-08-17 16:00:01 +00:00
cache.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
const.h libbdev: initial version 2011-11-09 14:43:25 +01:00
fs.h retire _ANSI and <minix/ansi.h> 2012-03-25 21:58:27 +02:00
glo.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
ialloc.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
inode.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
inode.h Add support for the ext2 file system. Contributed by Evgeniy Ivanov. 2010-08-02 11:44:45 +00:00
link.c VFS: reimplement truncate mtime/ctime fix 2012-04-20 11:35:59 +02:00
main.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
Makefile Remove obsolete INSTALLFLAGS from makefiles 2012-02-16 23:26:38 +01:00
misc.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
mount.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
open.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
path.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
protect.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
proto.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
read.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
stadir.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
super.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
super.h Add support for the ext2 file system. Contributed by Evgeniy Ivanov. 2010-08-02 11:44:45 +00:00
table.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
time.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
type.h Add support for the ext2 file system. Contributed by Evgeniy Ivanov. 2010-08-02 11:44:45 +00:00
utility.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
write.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00