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

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