aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2001-11-03 08:19:21 +0000
committerPeter Wemm <peter@FreeBSD.org>2001-11-03 08:19:21 +0000
commite0234e53c6dc6c1ac83e356ffc9239d47bc85127 (patch)
tree7a4697d1d7a2f14ab9f46ad054a0ee58757a0971 /sys
parent67ad5f5700efd2e94adb483c49713709a1d85236 (diff)
Notes
Diffstat (limited to 'sys')
-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 5498bf2f0f121..1dc0ece50ad60 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,