]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
DM RAID: Use safe version of rdev_for_each
authorJonathan Brassow <jbrassow@redhat.com>
Tue, 24 Apr 2012 00:23:13 +0000 (10:23 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 24 Apr 2012 00:23:13 +0000 (10:23 +1000)
commita9ad8526bb1af0741a5c0e01155dac08e7bdde60
tree4e82b35b644eab0aacc6c7d16b2cb7794f106cb5
parentafbaa90b80b1ec66e5137cc3824746bfdf559b18
DM RAID: Use safe version of rdev_for_each

Fix segfault caused by using rdev_for_each instead of rdev_for_each_safe

Commit dafb20fa34320a472deb7442f25a0c086e0feb33 mistakenly replaced a safe
iterator with an unsafe one when making some macro changes.

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/dm-raid.c