]> git.baikalelectronics.ru Git - kernel.git/commit
md/linear: avoid possible oops and array stop
authorNeilBrown <neilb@suse.de>
Mon, 17 May 2010 01:27:00 +0000 (11:27 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 17 May 2010 04:38:18 +0000 (14:38 +1000)
commit404ec0d8febac6078dad4af0a38e544e52b32417
treef7d4eb0a1816c8a608ba61a9368203d7b0ac4978
parentf65cb1ed7bf60bf795f1f88c365d044fec2c16bb
md/linear: avoid possible oops and array stop

Since commit e0ee1dc0a8e7fb44589c8f63e06c9f6305517bc6
it has been important that each personality clears
->private in the ->stop() function, or sets it to a
attribute group to be removed.
linear.c doesn't.  This can sometimes lead to an oops,
though it doesn't always.

Suitable for 2.6.33-stable and 2.6.34.

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