diff options
author | Pedro Martelletto <pedro@cvs.openbsd.org> | 2007-04-04 18:53:21 +0000 |
---|---|---|
committer | Pedro Martelletto <pedro@cvs.openbsd.org> | 2007-04-04 18:53:21 +0000 |
commit | 45e8d8c3a1eeac63f040e8aaa0e108253190eca8 (patch) | |
tree | 3b37e92097b4dc968df04291ee23c7b17c4eeda4 /sys/ufs/ffs/ffs_softdep.c | |
parent | dd5e56f42f670882fba68b5fbe84ed89079a4f4a (diff) |
Back out revision 1.70. By asynchronously writing the bitmaps to disk
upon unmount, we were generating rollbacks that wouldn't be taken care
of, as well as leaving dangling items in softdep's worklist.
Diffstat (limited to 'sys/ufs/ffs/ffs_softdep.c')
-rw-r--r-- | sys/ufs/ffs/ffs_softdep.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c index 52b56f7bdba..65c10c59fca 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.84 2007/03/15 10:22:30 art Exp $ */ +/* $OpenBSD: ffs_softdep.c,v 1.85 2007/04/04 18:53:20 pedro Exp $ */ /* * Copyright 1998, 2000 Marshall Kirk McKusick. All Rights Reserved. @@ -4719,8 +4719,7 @@ softdep_fsync_mountdev(vp, waitfor) */ nbp = LIST_FIRST(&vp->v_dirtyblkhd); } - if (waitfor == MNT_WAIT) - drain_output(vp, 1); + drain_output(vp, 1); FREE_LOCK(&lk); } |