simplify calculating array_blocks
authorCzarnowska, Anna <anna.czarnowska@intel.com>
Mon, 2 Apr 2012 00:16:04 +0000 (10:16 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 2 Apr 2012 00:16:04 +0000 (10:16 +1000)
commite03640bda562df11b60ceaaa40a56425f358090e
treecfdec611348d544c998695fb9b3ef95a3ee9954f
parent97f81ee2635d8c1283ef857bc46d7314acffa1c3
simplify calculating array_blocks

no point calling info_to_blocks_per_member when it just returns size*2 for level==1
calc_array_size can be used for all levels

Signed-off-by: Anna Czarnowska <anna.czarnowska@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
super-intel.c
util.c