diff options
author | NeilBrown <neilb@suse.de> | 2009-03-30 23:39:38 -0400 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-03-30 23:39:38 -0400 |
commit | 34817e8c3948ea20316dfa8fd8947d6d0ee82ba9 (patch) | |
tree | f4d2e75473b46db94928e21e9fe54b029432418b /kernel | |
parent | 67cc2b8165857ba019920d1f00d64bcc4140075d (diff) |
md: make sure new_level, new_chunksize, new_layout always have sensible 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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions