diff options
author | NeilBrown <neilb@suse.de> | 2013-07-30 15:17:22 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-07-30 15:59:03 +1000 |
commit | 641da74591920d4cfd4f92e7eefbf317d6ec348c (patch) | |
tree | e36a837f9ffedb707fad1094e6afeec41f6de628 /mdadm.h | |
parent | 7ccc4cc4fc6889680bbe4ec673cab3f6aa49aad3 (diff) |
super1: separate to version of _avail_space1().
_avail_space1() is calls from both avail_space1() and validate_geometry1()
and does slightly different things.
The partial code sharing doesn't really help. In particularly the
responsibility for setting the size of the array is currently
confused.
So duplicate the code into the two locations - one where 'super' is
always NULL (validate_geometry1) and one where it is never NULL
(avail_space1), and simplify.
No behaviour change - just code re-organisation.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.h')
0 files changed, 0 insertions, 0 deletions