From 1e5c69836d4d0b6dcaef8fc187e6bf2841eb57f6 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Mon, 21 Dec 2009 17:54:32 -0700 Subject: imsm: add support for checkpointing via 'curr_migr_unit' Unlike native md checkpointing some data about the geometry and type of the migration process is coded into curr_migr_unit. Provide logic to convert between md/{resync_start|recovery_start} and imsm/curr_migr_unit. Signed-off-by: Dan Williams --- bitmap.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'bitmap.c') diff --git a/bitmap.c b/bitmap.c index 850b0ce..088e37d 100644 --- a/bitmap.c +++ b/bitmap.c @@ -20,8 +20,6 @@ #include "mdadm.h" -#define min(a,b) (((a) < (b)) ? (a) : (b)) - inline void sb_le_to_cpu(bitmap_super_t *sb) { sb->magic = __le32_to_cpu(sb->magic); -- cgit