]> git.neil.brown.name Git - mdadm.git/commit
Grow: Split Grow_reshape into helper function
authorMateusz Kusiak <mateusz.kusiak@intel.com>
Thu, 28 Jul 2022 12:20:53 +0000 (20:20 +0800)
committerJes Sorensen <jsorensen@fb.com>
Wed, 24 Aug 2022 15:53:40 +0000 (11:53 -0400)
commit7211116c295ba1f9e1fcbdc2dd2d3762855062e1
treeee4d983805d5150d509da2cbc143714a4e6fc6d2
parent27ad4900501c615b7c6b266bf23948e5606dba53
Grow: Split Grow_reshape into helper function

Grow_reshape should be split into helper functions given its size.
- Add helper function for preparing reshape on external metadata.
- Close cfd file descriptor.

Signed-off-by: Mateusz Kusiak <mateusz.kusiak@intel.com>
Acked-by: Coly Li <colyli@suse.de>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Grow.c
mdadm.h
util.c