diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2006-10-19 14:37:55 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2006-10-19 14:37:55 +0000 |
commit | 183d6d0c340f47f3015a4dd91d69810bd89776b8 (patch) | |
tree | 3b42f6438f226dde46f51f8ed2c1f690bb015ea2 /sys | |
parent | eea3a1534b30f13e057026aacde6b801d9f7cb6c (diff) |
one more missing brelse() on bread() error; pedro@ ok
Diffstat (limited to 'sys')
-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 53b245b7885..fd1f5773bc7 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.76 2006/09/30 14:47:52 mickey Exp $ */ +/* $OpenBSD: ffs_softdep.c,v 1.77 2006/10/19 14:37:54 mickey Exp $ */ /* * Copyright 1998, 2000 Marshall Kirk McKusick. All Rights Reserved. @@ -4648,6 +4648,8 @@ softdep_fsync(vp) &bp); if (error == 0) error = bwrite(bp); + else + brelse(bp); vput(pvp); if (error != 0) return (error); |