exofs: Fix groups code when num_devices is not divisible by group_width
authorBoaz Harrosh <bharrosh@panasas.com>
Mon, 2 Aug 2010 17:06:46 +0000 (20:06 +0300)
committerBoaz Harrosh <bharrosh@panasas.com>
Wed, 4 Aug 2010 10:17:58 +0000 (13:17 +0300)
There is a bug when num_devices is not divisible by group_width * mirrors.
We would not return to the proper device and offset when looping on to the
next group.

The fix makes code simpler actually.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>

No differences found