summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2009-08-21 17:48:39 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2009-08-21 17:48:39 +0000
commit962a7dc889d481970d47d80487242c3f867235fa (patch)
tree91f4d2355b47c554f5f7e2c2e16a3d079b20da2e
parent73e8ba63c46a04a9b2affdc0a36cc570630deec5 (diff)
- remove statement after panic(), it won't be reached.
ok tedu@
-rw-r--r--sys/ufs/ext2fs/ext2fs_balloc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/ufs/ext2fs/ext2fs_balloc.c b/sys/ufs/ext2fs/ext2fs_balloc.c
index 457404cc21d..f3ce1c4db0e 100644
--- a/sys/ufs/ext2fs/ext2fs_balloc.c
+++ b/sys/ufs/ext2fs/ext2fs_balloc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ext2fs_balloc.c,v 1.15 2008/01/05 19:49:26 otto Exp $ */
+/* $OpenBSD: ext2fs_balloc.c,v 1.16 2009/08/21 17:48:38 jasper Exp $ */
/* $NetBSD: ext2fs_balloc.c,v 1.10 2001/07/04 21:16:01 chs Exp $ */
/*
@@ -265,7 +265,6 @@ fail:
(int)fs->e2fs_bsize, NOCRED, &bp);
if (r) {
panic("Could not unwind indirect block, error %d", r);
- brelse(bp);
} else {
bap = (int32_t *)bp->b_data;
bap[indirs[unwindidx].in_off] = 0;