Moved cas_blk_get_part_count function to configure section after the the disk's partitions table was changed to xarray. Signed-off-by: Gal Hammer <gal.hammer@huawei.com> Signed-off-by: Shai Fultheim <shai.fultheim@huawei.com>