diff options
author | phk <phk@FreeBSD.org> | 1999-11-27 14:33:30 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-11-27 14:33:30 +0000 |
commit | ba79ac5ee3fabeaeb91c492c7e0b3928a226329a (patch) | |
tree | 6444c4998b915976fc7daf2453f82b8818f22f0f /lib/libdisk/create_chunk.c | |
parent | 21243bc5b91faf3ed5fa2e3994bb5b60ec41bfcf (diff) | |
download | FreeBSD-src-ba79ac5ee3fabeaeb91c492c7e0b3928a226329a.zip FreeBSD-src-ba79ac5ee3fabeaeb91c492c7e0b3928a226329a.tar.gz |
Remove BAD144 support
Diffstat (limited to 'lib/libdisk/create_chunk.c')
-rw-r--r-- | lib/libdisk/create_chunk.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/libdisk/create_chunk.c b/lib/libdisk/create_chunk.c index fb6f4be..8c5ed64 100644 --- a/lib/libdisk/create_chunk.c +++ b/lib/libdisk/create_chunk.c @@ -228,13 +228,6 @@ Create_Chunk_DWIM(struct disk *d, struct chunk *parent , u_long size, chunk_e ty } return 0; found: - if (parent->flags & CHUNK_BAD144) { - edge = c1->end - d->bios_sect - 127; - if (offset > edge) - return 0; - if (offset + size > edge) - size = edge - offset + 1; - } i = Add_Chunk(d,offset,size,"X",type,subtype,flags); if (i) return 0; |