From 7cc47ae9b9249d9939a6b1f65151b50a38e7c679 Mon Sep 17 00:00:00 2001 From: mark Date: Thu, 29 Oct 1998 23:18:57 +0000 Subject: [PATCH] Pay attention to the share_size field in the filecore boot block in filecore_map(). From Andrew McMurry. Closes PR 6343 --- sys/filecorefs/filecore_bmap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/filecorefs/filecore_bmap.c b/sys/filecorefs/filecore_bmap.c index b29426ea27fa..b43460d8a6c3 100644 --- a/sys/filecorefs/filecore_bmap.c +++ b/sys/filecorefs/filecore_bmap.c @@ -1,4 +1,4 @@ -/* $NetBSD: filecore_bmap.c,v 1.2 1998/08/14 18:04:05 mark Exp $ */ +/* $NetBSD: filecore_bmap.c,v 1.3 1998/10/29 23:18:57 mark Exp $ */ /*- * Copyright (c) 1998 Andrew McMurry @@ -131,6 +131,7 @@ filecore_map(fcmp, addr, lbn, bnp) zaddr = 0; if (sect > 0) sect--; + sect <<= fcmp->drec.share_size; do { error=bread(fcmp->fc_devvp, fcmp->map + zone, 1 << fcmp->drec.log2secsize, NOCRED, &bp);