]> git.ipfire.org Git - thirdparty/mdadm.git/commit
mdadm: fix growing containers
authorNigel Croxon <ncroxon@redhat.com>
Fri, 26 Mar 2021 11:56:10 +0000 (07:56 -0400)
committerJes Sorensen <jsorensen@fb.com>
Tue, 6 Apr 2021 18:31:20 +0000 (14:31 -0400)
commit78c93b006e6127e62ca62adfb107c13fe5429386
treea7eadf61596b4a4cf61459a0f0a735517a2cc6fd
parentaf3396dadfcd3b13480d021b8d3645c6d2420f79
mdadm: fix growing containers

This fixes growing containers which was broken with
commit 4ae96c802203ec3c (mdadm: fix reshape from RAID5 to RAID6 with
backup file)

The issue being that containers use the function
wait_for_reshape_isms and expect a number value and not a
string value of "max".  The change is to test for external
before setting the correct value.

Signed-off-by: Nigel Croxon <ncroxon@redhat.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Grow.c