diff options
| author | majianpeng <[email protected]> | 2012-04-01 15:04:19 +0000 |
|---|---|---|
| committer | NeilBrown <[email protected]> | 2012-04-03 05:37:33 +0000 |
| commit | a42f9d83b5c05dc6e678a1f0cd9767502c2c58de (patch) | |
| tree | e1864a59287f1441a4b016938efea5ca30a57df1 /lib/mpi/mpi-inline.h | |
| parent | md: Avoid OOPS when reshaping raid1 to raid0 (diff) | |
| download | kernel-a42f9d83b5c05dc6e678a1f0cd9767502c2c58de.tar.gz kernel-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 <[email protected]>
Signed-off-by: NeilBrown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions
