]> 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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 18:40:03 +0000 (11:40 -0700)
commitc122ead30dcdb8712ba3d49d478ae66ac33dfb7b
treee332d1f6234e3f0da9f71c4353492ce4d06b5da4
parent0dbf5d84ecfa51949a4543da9b215ad36e3ac63f
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: Greg Kroah-Hartman <gregkh@suse.de>
drivers/md/linear.h