md/linear: avoid corrupting structure while waiting for rcu_free to complete.
commit372994e9fd5cadbacdfcc8724b590193d136c947
authorNeilBrown <neilb@suse.de>
Thu, 25 Aug 2011 04:43:53 +0000 (25 14:43 +1000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 7 Nov 2011 20:31:52 +0000 (7 12:31 -0800)
tree43b38600675b5f3329bbf082b2f713c08bae6019
parent10ae01e212fa102b65debed5b8ef7549917e605a
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