freebsd-dev/sys/ufs
Matthew Dillon f8e071a1eb Fix a race between the syncer and umount. When you umount a softupdates
filesystem softdep_process_worklist() is called in a loop until it indicates
that no dependancies remain, but the determination of that fact depends on
there only being one softdep_process_worklist() instance running.  It was
possible for the syncer to also be running softdep_process_worklist()
and the pre-existing checks in the code to prevent this were not sufficient
to prevent the race.  This patch solves the problem.

Approved-by: mckusick
2001-01-30 06:31:59 +00:00
..
ffs Fix a race between the syncer and umount. When you umount a softupdates 2001-01-30 06:31:59 +00:00
ifs - Move ifs_init() so that it can initialize ifs_inode_hash_mtx. 2000-12-14 09:15:27 +00:00
mfs Add VOP_*VOBJECT vops, because MFS requires explicit vop specification. 2000-09-12 16:21:16 +00:00
ufs Convert all simplelocks to mutexes and remove the simplelock implementations. 2001-01-24 12:35:55 +00:00