summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid5.c
diff options
context:
space:
mode:
authormajianpeng <majianpeng@gmail.com>2012-04-01 17:04:19 +0200
committerNeilBrown <neilb@suse.de>2012-04-03 07:37:33 +0200
commita42f9d83b5c05dc6e678a1f0cd9767502c2c58de (patch)
treee1864a59287f1441a4b016938efea5ca30a57df1 /drivers/md/raid5.c
parentmd: Avoid OOPS when reshaping raid1 to raid0 (diff)
downloadlinux-a42f9d83b5c05dc6e678a1f0cd9767502c2c58de.tar.xz
linux-a42f9d83b5c05dc6e678a1f0cd9767502c2c58de.zip
md/raid1:Remove unnecessary rcu_dereference(conf->mirrors[i].rdev).
Because rde->nr_pending > 0,so can not remove this disk. And in any case, we aren't holding rcu_read_lock() Signed-off-by: majianpeng <majianpeng@gmail.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid5.c')
0 files changed, 0 insertions, 0 deletions