]> git.baikalelectronics.ru Git - kernel.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)
committerNeilBrown <neilb@suse.de>
Thu, 25 Aug 2011 04:43:53 +0000 (14:43 +1000)
commit4f9c2a7624fc4884790c70e1daf602b6cab56394
treeb1e8f78bf3f216b7b3d7f740c18009bc29592ed1
parent1b8047db7f39cf316b0a1fb02e77d795510d6db3
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