]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit885ea027d3adc1bee3f80f376d14c301fabf298f
treedcba726c5e705c787c00f7fac67201a82e06191a
parent7cf5b40c26d8a2c44ea4913d92439455dc12070a
exofs: Fix groups code when num_devices is not divisible by group_width

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>
fs/exofs/ios.c