summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/mdadm/files/mdadm-fix-ptest-build-errors.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/mdadm/files/mdadm-fix-ptest-build-errors.patch')
-rw-r--r--meta/recipes-extended/mdadm/files/mdadm-fix-ptest-build-errors.patch10
1 files changed, 4 insertions, 6 deletions
diff --git a/meta/recipes-extended/mdadm/files/mdadm-fix-ptest-build-errors.patch b/meta/recipes-extended/mdadm/files/mdadm-fix-ptest-build-errors.patch
index 267c007c21..8e2a8a9043 100644
--- a/meta/recipes-extended/mdadm/files/mdadm-fix-ptest-build-errors.patch
+++ b/meta/recipes-extended/mdadm/files/mdadm-fix-ptest-build-errors.patch
@@ -1,4 +1,4 @@
1From c65898b9da82df94e1bae7937e415a7eb80355d5 Mon Sep 17 00:00:00 2001 1From 911f6ea9be0c334885aeff66853b111cbd4066df Mon Sep 17 00:00:00 2001
2From: "Maxin B. John" <maxin.john@intel.com> 2From: "Maxin B. John" <maxin.john@intel.com>
3Date: Wed, 10 Feb 2016 17:28:05 +0200 3Date: Wed, 10 Feb 2016 17:28:05 +0200
4Subject: [PATCH] mdadm-fix-ptest-build-errors 4Subject: [PATCH] mdadm-fix-ptest-build-errors
@@ -16,15 +16,16 @@ builds fail with ptest enabled:
16Upstream-Status: Pending 16Upstream-Status: Pending
17 17
18Signed-off-by: Maxin B. John <maxin.john@intel.com> 18Signed-off-by: Maxin B. John <maxin.john@intel.com>
19
19--- 20---
20 restripe.c | 6 +++++- 21 restripe.c | 6 +++++-
21 1 file changed, 5 insertions(+), 1 deletion(-) 22 1 file changed, 5 insertions(+), 1 deletion(-)
22 23
23diff --git a/restripe.c b/restripe.c 24diff --git a/restripe.c b/restripe.c
24index 56dca73..d24b2b4 100644 25index 31b07e8..592ba5d 100644
25--- a/restripe.c 26--- a/restripe.c
26+++ b/restripe.c 27+++ b/restripe.c
27@@ -842,10 +842,14 @@ int test_stripes(int *source, unsigned long long *offsets, 28@@ -864,10 +864,14 @@ int test_stripes(int *source, unsigned long long *offsets,
28 29
29 while (length > 0) { 30 while (length > 0) {
30 int disk; 31 int disk;
@@ -40,6 +41,3 @@ index 56dca73..d24b2b4 100644
40 } 41 }
41 for (i = 0 ; i < data_disks ; i++) { 42 for (i = 0 ; i < data_disks ; i++) {
42 int disk = geo_map(i, start/chunk_size, raid_disks, 43 int disk = geo_map(i, start/chunk_size, raid_disks,
43--
442.4.0
45