diff options
author | NeilBrown <neilb@suse.de> | 2009-03-31 14:39:38 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-03-31 14:39:38 +1100 |
commit | 34817e8c3948ea20316dfa8fd8947d6d0ee82ba9 (patch) | |
tree | f4d2e75473b46db94928e21e9fe54b029432418b /crypto/ansi_cprng.c | |
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 'crypto/ansi_cprng.c')
0 files changed, 0 insertions, 0 deletions