From 21dc47172d167e98b15d1d86e69f05d8a7abb8ba Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Mon, 3 Nov 2014 12:56:37 +1100 Subject: [PATCH] super1: remove some debugging printfs in update_super1 These should never have been there. Signed-off-by: NeilBrown --- super1.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/super1.c b/super1.c index 727a08a..cff021d 100644 --- a/super1.c +++ b/super1.c @@ -1245,12 +1245,8 @@ static int update_super1(struct supertype *st, struct mdinfo *info, /* set data_size to device size less data_offset */ struct misc_dev_info *misc = (struct misc_dev_info*) (st->sb + MAX_SB_SIZE + BM_SUPER_SIZE); - printf("Size was %llu\n", (unsigned long long) - __le64_to_cpu(sb->data_size)); sb->data_size = __cpu_to_le64( misc->device_size - __le64_to_cpu(sb->data_offset)); - printf("Size is %llu\n", (unsigned long long) - __le64_to_cpu(sb->data_size)); } else if (strcmp(update, "revert-reshape") == 0) { rv = -2; if (!(sb->feature_map & __cpu_to_le32(MD_FEATURE_RESHAPE_ACTIVE)))