diff options
author | dillon <dillon@FreeBSD.org> | 2001-01-30 06:31:59 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 2001-01-30 06:31:59 +0000 |
commit | 1f3366270d709f6f608ce684f27e9cc90f9ca538 (patch) | |
tree | 7a7339aaaf69fa32ada71ac019b63ac050063afb /sys/netgraph/ng_bpf.h | |
parent | adb7fe8db78dbc2ae7051e4f9e1af2ad54e7b65d (diff) | |
download | FreeBSD-src-1f3366270d709f6f608ce684f27e9cc90f9ca538.zip FreeBSD-src-1f3366270d709f6f608ce684f27e9cc90f9ca538.tar.gz |
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
Diffstat (limited to 'sys/netgraph/ng_bpf.h')
0 files changed, 0 insertions, 0 deletions