From e9ab36a73ad6291aa9848d3910eb3400c0ef7766 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Wed, 20 Jul 2011 20:39:01 +0200 Subject: [PATCH] libblkid: move MINIX_MAXPARTITIONS to minix.h Signed-off-by: Sami Kerola --- include/minix.h | 5 +++++ libblkid/src/partitions/minix.c | 6 +----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/include/minix.h b/include/minix.h index d89fc2ad99..920b38e53a 100644 --- a/include/minix.h +++ b/include/minix.h @@ -55,6 +55,11 @@ struct minix3_super_block { uint8_t s_disk_version; }; +/* + * Minix subpartitions are always within primary dos partition. + */ +#define MINIX_MAXPARTITIONS 4 + #define MINIX_BLOCK_SIZE_BITS 10 #define MINIX_BLOCK_SIZE (1<