Skip to content
Commit 5002dd18 authored by Boaz Harrosh's avatar Boaz Harrosh
Browse files

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: default avatarBoaz Harrosh <bharrosh@panasas.com>
parent 6e31609b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment