]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Grow: Remove unnecessary optimization
authorJes Sorensen <jes@wobbly.dhcp.thefacebook.com>
Thu, 30 Mar 2017 14:39:29 +0000 (10:39 -0400)
committerJes Sorensen <Jes.Sorensen@gmail.com>
Thu, 30 Mar 2017 14:44:36 +0000 (10:44 -0400)
commit758b327cf5a7aab50ae5c70ecbc371dc4f715bb6
treefe0538dc78adac847d6a8a47e388d3360d7331d8
parentb0ba6a1dee995b3cd7331b4df92d115e51d8ac0c
Grow: Remove unnecessary optimization

Per explanation by Neil, this optimization of writing "size" to the
attribute of each device, however when reducing the size of devices,
the size change isn't permitted until the array has been shrunk, so
this will fail anyway.

This effectively reverts 65a9798b58b4e4de0157043e2b30a738c27eff43

Signed-off-by: Jes Sorensen <Jes.Sorensen@gmail.com>
Grow.c