Blame SOURCES/0009-Grow-report-correct-new-chunk-size.patch

5eacff
From 76d505dec6c9f92564553596fc8350324be82463 Mon Sep 17 00:00:00 2001
5eacff
From: NeilBrown <neilb@suse.com>
5eacff
Date: Thu, 6 Dec 2018 10:36:28 +1100
5eacff
Subject: [RHEL7.7 PATCH 09/24] Grow: report correct new chunk size.
5eacff
5eacff
When using "--grow --chunk=" to change chunk
5eacff
size, the old chunksize is reported instead of the new.
5eacff
5eacff
Signed-off-by: NeilBrown <neilb@suse.com>
5eacff
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
5eacff
---
5eacff
 Grow.c | 2 +-
5eacff
 1 file changed, 1 insertion(+), 1 deletion(-)
5eacff
5eacff
diff --git a/Grow.c b/Grow.c
5eacff
index 76f82c0..363b209 100644
5eacff
--- a/Grow.c
5eacff
+++ b/Grow.c
5eacff
@@ -3286,7 +3286,7 @@ static int reshape_array(char *container, int fd, char *devname,
5eacff
 				goto release;
5eacff
 			} else if (verbose >= 0)
5eacff
 				printf("chunk size for %s set to %d\n",
5eacff
-				       devname, array.chunk_size);
5eacff
+				       devname, info->new_chunk);
5eacff
 		}
5eacff
 		unfreeze(st);
5eacff
 		return 0;
5eacff
-- 
5eacff
2.7.5
5eacff