summaryrefslogtreecommitdiffstats
path: root/libblkid
diff options
context:
space:
mode:
authorSami Kerola2011-07-20 20:13:08 +0200
committerSami Kerola2011-07-20 20:13:08 +0200
commit63883af765609743b7031faa4f33d6e2a0b2b156 (patch)
treeee15005a53424aa9734c13f93d5c289dd75cf58f /libblkid
parentlibblkid: use superblock structure from minix.h (diff)
downloadkernel-qcow2-util-linux-63883af765609743b7031faa4f33d6e2a0b2b156.tar.gz
kernel-qcow2-util-linux-63883af765609743b7031faa4f33d6e2a0b2b156.tar.xz
kernel-qcow2-util-linux-63883af765609743b7031faa4f33d6e2a0b2b156.zip
libblkid: use MINIX_BLOCK_SIZE from minix.h
In the minix.h two definitions where renamed, so that the single definition is reusable in fsck.minix, mkfs.minix and libblkid. BLOCK_SIZE_BITS -> MINIX_BLOCK_SIZE_BITS BLOCK_SIZE -> MINIX_BLOCK_SIZE Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'libblkid')
-rw-r--r--libblkid/src/superblocks/minix.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libblkid/src/superblocks/minix.c b/libblkid/src/superblocks/minix.c
index 1d721c0fe..54e71396b 100644
--- a/libblkid/src/superblocks/minix.c
+++ b/libblkid/src/superblocks/minix.c
@@ -13,9 +13,6 @@
#include "superblocks.h"
#include "minix.h"
-#define MINIX_BLOCK_SIZE_BITS 10
-#define MINIX_BLOCK_SIZE (1 << MINIX_BLOCK_SIZE_BITS)
-
static int probe_minix(blkid_probe pr, const struct blkid_idmag *mag)
{
unsigned char *ext;