mirror of
https://github.com/Dasharo/linux.git
synced 2026-03-06 15:25:10 -08:00
raid1 arrays do not have the notion of chunk size. Calculate the largest chunk sector size we can use to avoid a divide by zero OOPS when aligning the size of the new array to the chunk size. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: NeilBrown <neilb@suse.de>
20 KiB
20 KiB