diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-11-27 14:33:30 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-11-27 14:33:30 +0000 |
| commit | b007e160a11506ad6129e6e9c30047974b8ae98e (patch) | |
| tree | aa0a920d813529b4c6a14c7a77ebdf981dac09fd /lib/libdisk/create_chunk.c | |
| parent | 4a59084cee58637ba9ad32862ce636d45a028871 (diff) | |
Notes
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 fb6f4befe4e0..8c5ed6488f3b 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; |
