commit | a42f9d83b5c05dc6e678a1f0cd9767502c2c58de | [log] [tgz] |
---|---|---|
author | majianpeng <majianpeng@gmail.com> | Mon Apr 02 01:04:19 2012 +1000 |
committer | NeilBrown <neilb@suse.de> | Tue Apr 03 15:37:33 2012 +1000 |
tree | e1864a59287f1441a4b016938efea5ca30a57df1 | |
parent | 24b961f811a3e790a9b93604d2594bfb6cce4fa4 [diff] |
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>