]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdadm.h
Prepare and free fdlist in functions
authorAdam Kwolek <adam.kwolek@intel.com>
Tue, 30 Nov 2010 02:27:08 +0000 (13:27 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 30 Nov 2010 02:27:08 +0000 (13:27 +1100)
commit130994cb8327023f51fe1591118533249e41a246
tree12b5edd71acb5f72234bc9939da22d40e9aae2a6
parent8ba77d32818b6c64e61ab9e1fede9e2485dcf2b2
Prepare and free fdlist in functions

fd handles table creation is put in to function for code reuse.

In manage_reshape(), child_grow() function from Grow.c will be reused.
To prepare parameters for this function, code from Grow.c can be
reused also.

Signed-off-by: Adam Kwolek <adam.kwolek@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Grow.c
mdadm.h