]> git.baikalelectronics.ru Git - kernel.git/commit
md/raid5: add rcu protection to rdev accesses in want_replace
authorNeilBrown <neilb@suse.com>
Thu, 2 Jun 2016 06:19:52 +0000 (16:19 +1000)
committerShaohua Li <shli@fb.com>
Mon, 13 Jun 2016 18:54:19 +0000 (11:54 -0700)
commit9accb874a1f17106a4c60d1acf4c7b57f81bd847
treed8b5c58c05ff9c69b2f79d29cfcbdf665f0bf734
parent1aae7d0096d366d291828b8232f0902d1bac2f4a
md/raid5: add rcu protection to rdev accesses in want_replace

Being in the middle of resync is no longer protection against failed
rdevs disappearing.  So add rcu protection.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/raid5.c