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)
committerNeilBrown <neilb@suse.de>
Thu, 25 Aug 2011 04:43:53 +0000 (14:43 +1000)
commit1b6afa17581027218088a18a9ceda600e0ddba7a
treeb1e8f78bf3f216b7b3d7f740c18009bc29592ed1
parenta5bf4df0c88b88d34b6f0e3bc8a402dac7d14611
md/linear: avoid corrupting structure while waiting for rcu_free to complete.

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.

Cc: stable@kernel.org
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/linear.h