summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2008-11-18 23:15:17 +0000
committerjhb <jhb@FreeBSD.org>2008-11-18 23:15:17 +0000
commit0c4560d52e12e1c589dc28851e8bb93e3e2d8273 (patch)
tree9e01d63d001284ecb7e56cbad1002dd97e770a9b
parent58d159db68bd65c90b2769e40f7efb7f8e5dedbb (diff)
downloadFreeBSD-src-0c4560d52e12e1c589dc28851e8bb93e3e2d8273.zip
FreeBSD-src-0c4560d52e12e1c589dc28851e8bb93e3e2d8273.tar.gz
Remove copy/paste code from UFS to handle sparse blocks. While Rock
Ridge does support sparse files, the cd9660 code does not currently support them.
-rw-r--r--sys/fs/cd9660/cd9660_vnops.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/fs/cd9660/cd9660_vnops.c b/sys/fs/cd9660/cd9660_vnops.c
index c0ab412..728670a 100644
--- a/sys/fs/cd9660/cd9660_vnops.c
+++ b/sys/fs/cd9660/cd9660_vnops.c
@@ -743,12 +743,6 @@ cd9660_strategy(ap)
if (bp->b_blkno == bp->b_lblkno) {
bp->b_blkno = (ip->iso_start + bp->b_lblkno) <<
(ip->i_mnt->im_bshift - DEV_BSHIFT);
- if ((long)bp->b_blkno == -1) /* XXX: cut&paste junk ? */
- clrbuf(bp);
- }
- if ((long)bp->b_blkno == -1) { /* XXX: cut&paste junk ? */
- bufdone(bp);
- return (0);
}
bp->b_iooffset = dbtob(bp->b_blkno);
bo = ip->i_mnt->im_bo;
OpenPOWER on IntegriCloud