diff options
Diffstat (limited to 'sys/ufs/ffs/ffs_softdep.c')
-rw-r--r-- | sys/ufs/ffs/ffs_softdep.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c index 0a76d2144f1..3e0ffb6e9af 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.99 2009/06/06 18:06:22 art Exp $ */ +/* $OpenBSD: ffs_softdep.c,v 1.100 2009/06/25 15:49:26 thib Exp $ */ /* * Copyright 1998, 2000 Marshall Kirk McKusick. All Rights Reserved. @@ -4700,6 +4700,7 @@ softdep_fsync_mountdev(vp, waitfor) wk->wk_type != D_BMSAFEMAP) { continue; } + bremfree(bp); buf_acquire(bp); FREE_LOCK(&lk); (void) bawrite(bp); @@ -5607,6 +5608,7 @@ getdirtybuf(bp, waitfor) } if ((bp->b_flags & B_DELWRI) == 0) return (0); + bremfree(bp); buf_acquire(bp); return (1); } |