]> git.kernelconcepts.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, 7 Nov 2011 21:46:45 +0000 (13:46 -0800)
commitb2b33e0577d3e7c8c22476021872c607173de41e
treecc1ff104954112974a8482bd0abd38de82d1c2ea
parent97bbf2cf5e03109f446b0596197b444be75a9d18
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