Commit b2b33e05 authored by NeilBrown's avatar NeilBrown Committed by Greg Kroah-Hartman
Browse files

md/linear: avoid corrupting structure while waiting for rcu_free to complete.



commit 1b6afa17 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: default avatarNeilBrown <neilb@suse.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 97bbf2cf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment