summaryrefslogtreecommitdiff
path: root/drivers/md/raid5.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-03-31 03:39:38 (GMT)
committerNeilBrown <neilb@suse.de>2009-03-31 03:39:38 (GMT)
commit34817e8c3948ea20316dfa8fd8947d6d0ee82ba9 (patch)
treef4d2e75473b46db94928e21e9fe54b029432418b /drivers/md/raid5.h
parent67cc2b8165857ba019920d1f00d64bcc4140075d (diff)
downloadlinux-fsl-qoriq-34817e8c3948ea20316dfa8fd8947d6d0ee82ba9.tar.xz
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 'drivers/md/raid5.h')
0 files changed, 0 insertions, 0 deletions