diff options
author | 2001-03-08 10:56:47 +0000 | |
---|---|---|
committer | 2001-03-08 10:56:47 +0000 | |
commit | 3fd7d171ffd1e9ed55007e70acdef08a74a56e25 (patch) | |
tree | 173ac830ce0b55d925c30f62103e5d99248a1feb /sys | |
parent | make nd6_storelladdr()'s behavior consistent about mbuf freeing on errors. (diff) | |
download | wireguard-openbsd-3fd7d171ffd1e9ed55007e70acdef08a74a56e25.tar.xz wireguard-openbsd-3fd7d171ffd1e9ed55007e70acdef08a74a56e25.zip |
Be more careful about who we treat as the syncer.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ufs/ffs/ffs_softdep.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c index 109be191854..e647919e1c1 100644 --- a/sys/ufs/ffs/ffs_softdep.c +++ b/sys/ufs/ffs/ffs_softdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs_softdep.c,v 1.19 2001/03/04 07:00:33 csapuntz Exp $ */ +/* $OpenBSD: ffs_softdep.c,v 1.20 2001/03/08 10:56:47 art Exp $ */ /* * Copyright 1998, 2000 Marshall Kirk McKusick. All Rights Reserved. * @@ -525,8 +525,11 @@ softdep_process_worklist(matchmnt) /* * Record the process identifier of our caller so that we can give * this process preferential treatment in request_cleanup below. + * We can't do this in softdep_initialize, because the syncer doesn't + * have to run then. + * NOTE! This function _could_ be called with a curproc != syncerproc. */ - filesys_syncer = p; + filesys_syncer = syncerproc; matchcnt = 0; /* |