]> git.karo-electronics.de Git - karo-tx-linux.git/commit
md/linear: avoid corrupting structure while waiting for rcu_free to complete.
authorNeilBrown <neilb@suse.de>
Thu, 25 Aug 2011 04:43:53 +0000 (14:43 +1000)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 17 Aug 2012 19:35:10 +0000 (15:35 -0400)
commitf10776d80e1f238bd49b12713031908adbf40bf5
tree202dd9ec800501017d39a526fcae49137c17208f
parent5f89d486598fd0c5e5e18793093251a392ebd598
md/linear: avoid corrupting structure while waiting for rcu_free to complete.

commit 1b6afa17581027218088a18a9ceda600e0ddba7a upstream.

I don't know what I was thinking putting 'rcu' after a dynamically
sized array!  The array could still be in use when we call rcu_free()
(That is the point) so we mustn't corrupt it.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/md/linear.h