summaryrefslogtreecommitdiffstats
path: root/crypto/tea.c
diff options
context:
space:
mode:
authorJonathan E Brassow <jbrassow@redhat.com>2012-03-07 19:09:47 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-03-12 12:31:50 -0700
commit5e3604168b5994e591db2dece06867a035cd5146 (patch)
tree978fc9548f9e8c325a09850e2bdf025a57932345 /crypto/tea.c
parent73b249403dcb121671bb1f5df101e9ee59b31160 (diff)
downloadlinux-stable-5e3604168b5994e591db2dece06867a035cd5146.tar.gz
linux-stable-5e3604168b5994e591db2dece06867a035cd5146.tar.bz2
linux-stable-5e3604168b5994e591db2dece06867a035cd5146.zip
dm raid: set MD_CHANGE_DEVS when rebuilding
commit 3aa3b2b2b1edb813dc5342d0108befc39541542d upstream. 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> Signed-off-by: Alasdair G Kergon <agk@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/tea.c')
0 files changed, 0 insertions, 0 deletions