X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fmdadm.git;a=blobdiff_plain;f=Grow.c;fp=Grow.c;h=074f19956e17a4568a254a23b2f6d615068c8727;hp=c69a342df945723671455e364354f2b9359323f9;hb=da4d58b6d01ed8b0149b777eba7818861fde8c80;hpb=ae996e81232b8ba991e763dfa15577a0af358358 diff --git a/Grow.c b/Grow.c index c69a342d..074f1995 100644 --- a/Grow.c +++ b/Grow.c @@ -4413,19 +4413,8 @@ static void validate(int afd, int bfd, unsigned long long offset) lseek64(afd, __le64_to_cpu(bsb2.arraystart)*512, 0); if ((unsigned long long)read(afd, abuf, len) != len) fail("read first from array failed"); - if (memcmp(bbuf, abuf, len) != 0) { -#if 0 - int i; - printf("offset=%llu len=%llu\n", - (unsigned long long)__le64_to_cpu(bsb2.arraystart)*512, len); - for (i=0; i