diff options
author | Jonathan E Brassow | 2012-03-07 19:09:47 +0000 |
---|---|---|
committer | Alasdair G Kergon | 2012-03-07 19:09:47 +0000 |
commit | 3aa3b2b2b1edb813dc5342d0108befc39541542d (patch) | |
tree | 151000a59d089231fcefbf44539c89ee56436c84 /fs/udf/ecma_167.h | |
parent | af63bcb817cf708f53bcae6edc2e3fb7dd7d8051 (diff) |
dm raid: set MD_CHANGE_DEVS when rebuilding
The 'rebuild' parameter is used to rebuild individual devices in an
array (e.g. resynchronize a RAID1 device or recalculate a parity device
in higher RAID). The MD_CHANGE_DEVS flag must be set when this
parameter is given in order to write out the superblocks and make the
change take immediate effect. The code that handles new devices in
super_load already sets MD_CHANGE_DEVS and 'FirstUse'. (The 'FirstUse'
flag was being set as a special case for rebuilds in
super_init_validation.)
Add a condition for rebuilds in super_load to take care of both flags
without the special case in 'super_init_validation'.
Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Cc: stable@kernel.org
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'fs/udf/ecma_167.h')
0 files changed, 0 insertions, 0 deletions