summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_disklabel.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-11-03 08:19:21 +0000
committerpeter <peter@FreeBSD.org>2001-11-03 08:19:21 +0000
commit2fc110a60d855cb50b19bddf24c70b0fd127d6c9 (patch)
tree7a4697d1d7a2f14ab9f46ad054a0ee58757a0971 /sys/kern/subr_disklabel.c
parent32b6e93593760bd24314cff73ac7fdd832420ac4 (diff)
downloadFreeBSD-src-2fc110a60d855cb50b19bddf24c70b0fd127d6c9.zip
FreeBSD-src-2fc110a60d855cb50b19bddf24c70b0fd127d6c9.tar.gz
FreeBSD/tahoe is not likely for a while.
Diffstat (limited to 'sys/kern/subr_disklabel.c')
-rw-r--r--sys/kern/subr_disklabel.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/kern/subr_disklabel.c b/sys/kern/subr_disklabel.c
index 5498bf2..1dc0ece 100644
--- a/sys/kern/subr_disklabel.c
+++ b/sys/kern/subr_disklabel.c
@@ -373,9 +373,6 @@ diskerr(bp, what, blkdone, lp)
(long)(bp->bio_blkno + (bp->bio_bcount - 1) / DEV_BSIZE));
}
if (lp && (blkdone >= 0 || bp->bio_bcount <= lp->d_secsize)) {
-#ifdef tahoe
- sn *= DEV_BSIZE / lp->d_secsize; /* XXX */
-#endif
sn += lp->d_partitions[part].p_offset;
/*
* XXX should add slice offset and not print the slice,
OpenPOWER on IntegriCloud