Move code to get_data_disks() function
authorAdam Kwolek <adam.kwolek@intel.com>
Sun, 2 Oct 2011 22:57:12 +0000 (09:57 +1100)
committerNeilBrown <neilb@suse.de>
Sun, 2 Oct 2011 22:57:12 +0000 (09:57 +1100)
commit577e8448e99454b12bdbb60cf8fe9f0c532e544c
tree75f3973ad32f0eea7c71fbebee68c05d4b2ca35c
parent2dddadb0f713c5bb335a80518b42c152ef955d27
Move code to get_data_disks() function

Move code to function for code reuse.

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