minix/servers/mfs
David van Moolenbroek 0c11190cdc MFS: reimplement block clean marking fix
MFS' get_block() must never return a newly acquired block buffer that
is marked dirty from previous use. This patch replaces git-dd59d50,
which assumed a working model where blocks for device NO_DEV would
never be dirty. For at least one scenario, that assumption does not
hold, triggering superblock overwrite warnings. In this patch, blocks
are explicitly marked as clean upon being repurposed. The working
model is now restored to be: the dirty state of a block is relevant
only when its associated device is not set to NO_DEV.
2012-04-20 17:40:47 +02:00
..
buf.h mfs: use macros to mark blocks and inodes dirty 2011-12-22 01:29:27 +01:00
cache.c MFS: reimplement block clean marking fix 2012-04-20 17:40:47 +02:00
clean.h MFS: reimplement block clean marking fix 2012-04-20 17:40:47 +02:00
const.h mfs: use macros to mark blocks and inodes dirty 2011-12-22 01:29:27 +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
inode.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
inode.h mfs: restore readonly mounting 2011-12-22 01:29:27 +01: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
mfsdir.h increase system-wide filename limit to 255 2011-08-17 16:00:01 +00: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
pipe.c Check group range for sanity 2011-09-08 12:23:03 +00: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
stats.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 mfs: clean flag 2011-12-22 16:53:32 +01: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 mfs: use macros to mark blocks and inodes dirty 2011-12-22 01:29:27 +01: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