diff options
author | Adam Kwolek <adam.kwolek@intel.com> | 2011-03-08 17:18:44 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-03-08 17:18:44 +1100 |
commit | 04fa95230951582a4c5e8f022627d8baebd51af2 (patch) | |
tree | a230bb831c9a5af8bac0f7d0077d25f44d0c1780 /super-intel.c | |
parent | 4968025884885c078336e231f8f117e7e50618ba (diff) |
imsm: FIX: Variables declaration cleanup
Variables declaration moved a little bit up,
to not mix declaration and code.
Signed-off-by: Adam Kwolek <adam.kwolek@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'super-intel.c')
-rw-r--r-- | super-intel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/super-intel.c b/super-intel.c index 26276f7e..b55f6ec0 100644 --- a/super-intel.c +++ b/super-intel.c @@ -1830,13 +1830,13 @@ static void getinfo_super_imsm_volume(struct supertype *st, struct mdinfo *info, case MIGR_GEN_MIGR: { __u64 blocks_per_unit = blocks_per_migr_unit(dev); __u64 units = __le32_to_cpu(dev->vol.curr_migr_unit); + unsigned long long array_blocks; + int used_disks; info->reshape_progress = blocks_per_unit * units; dprintf("IMSM: General Migration checkpoint : %llu " "(%llu) -> read reshape progress : %llu\n", units, blocks_per_unit, info->reshape_progress); - unsigned long long array_blocks; - int used_disks; used_disks = imsm_num_data_members(dev, 1); if (used_disks > 0) { |