Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
md: make sure new_level, new_chunksize, new_layout always have sensib…
…le values. When an md array is undergoing a change, we have new_* fields that show the new values. When no change is happening, it is least confusing if these have the same value as the normal fields. This is true in most cases, but not when the values are set via sysfs. So fix this up. A subsequent patch will BUG_ON if these things aren't consistent. Signed-off-by: NeilBrown <neilb@suse.de>
- Loading branch information