From: deraadt Date: Mon, 24 Apr 2000 04:53:00 +0000 (+0000) Subject: support DOSPTYP_EXTENDL like DOSPTYP_EXTEND; scott@nts.umn.edu X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=32e64d583afee2b95515dba5b1a55dc6271a1542;p=openbsd support DOSPTYP_EXTENDL like DOSPTYP_EXTEND; scott@nts.umn.edu --- diff --git a/sys/arch/alpha/alpha/disksubr.c b/sys/arch/alpha/alpha/disksubr.c index 8c3debfee37..e1b351fe1f7 100644 --- a/sys/arch/alpha/alpha/disksubr.c +++ b/sys/arch/alpha/alpha/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.29 1999/07/17 23:12:07 deraadt Exp $ */ +/* $OpenBSD: disksubr.c,v 1.30 2000/04/24 04:53:00 deraadt Exp $ */ /* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */ /* @@ -475,6 +475,7 @@ donot: n++; break; case DOSPTYP_EXTEND: + case DOSPTYP_EXTENDL: part_blkno = dp2->dp_start + extoff; if (!extoff) extoff = dp2->dp_start; diff --git a/sys/arch/i386/i386/disksubr.c b/sys/arch/i386/i386/disksubr.c index ecfb1aa1dc0..ab4aca46e8c 100644 --- a/sys/arch/i386/i386/disksubr.c +++ b/sys/arch/i386/i386/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.37 1999/07/17 17:00:26 csapuntz Exp $ */ +/* $OpenBSD: disksubr.c,v 1.38 2000/04/24 04:53:01 deraadt Exp $ */ /* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */ /* @@ -229,6 +229,7 @@ donot: n++; break; case DOSPTYP_EXTEND: + case DOSPTYP_EXTENDL: part_blkno = get_le(&dp2->dp_start) + extoff; if (!extoff) extoff = get_le(&dp2->dp_start); diff --git a/sys/arch/mips/mips/disksubr.c b/sys/arch/mips/mips/disksubr.c index 270d61bf233..2efcdeba32e 100644 --- a/sys/arch/mips/mips/disksubr.c +++ b/sys/arch/mips/mips/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.9 1999/07/17 23:12:08 deraadt Exp $ */ +/* $OpenBSD: disksubr.c,v 1.10 2000/04/24 04:53:01 deraadt Exp $ */ /* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */ /* @@ -232,6 +232,7 @@ donot: n++; break; case DOSPTYP_EXTEND: + case DOSPTYP_EXTENDL: part_blkno = get_le(&dp2->dp_start) + extoff; if (!extoff) extoff = get_le(&dp2->dp_start); diff --git a/sys/arch/powerpc/powerpc/disksubr.c b/sys/arch/powerpc/powerpc/disksubr.c index f81d4f2336d..1b14ae4652a 100644 --- a/sys/arch/powerpc/powerpc/disksubr.c +++ b/sys/arch/powerpc/powerpc/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.12 1999/01/08 04:29:09 millert Exp $ */ +/* $OpenBSD: disksubr.c,v 1.13 2000/04/24 04:53:01 deraadt Exp $ */ /* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */ /* @@ -227,6 +227,7 @@ donot: n++; break; case DOSPTYP_EXTEND: + case DOSPTYP_EXTENDL: part_blkno = get_le(&dp2->dp_start) + extoff; if (!extoff) extoff = get_le(&dp2->dp_start);