Avoid changing o_blocks_count, since it is used later when reporting
old blocks count in debug mode.
Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
es->s_log_groups_per_flex)
flexbg_size = 1 << es->s_log_groups_per_flex;
- o_blocks_count = ext4_blocks_count(es);
- if (o_blocks_count == n_blocks_count)
+ if (ext4_blocks_count(es) == n_blocks_count)
goto out;
flex_gd = alloc_flex_gd(flexbg_size);