Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5cac6bcb authored by NeilBrown's avatar NeilBrown
Browse files

md/raid5: always set conf->prev_chunk_sectors and ->prev_algo



These aren't really needed when no reshape is happening,
but it is safer to have them always set to a meaningful value.
The next patch will use ->prev_chunk_sectors without checking
if a reshape is happening (because that makes the code simpler),
and this patch makes that safe.

Signed-off-by: default avatarNeilBrown <neilb@suse.com>
parent 02ec5026
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment