[ 091/262] md/raid10: fix problem with on-stack allocation of r10bio structure.

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit e0ee778528bbaad28a5c69d2e219269a3a096607 upstream. A 'struct r10bio' has an array of per-copy information at the end. This array is declared with size [0] and

[ 091/262] md/raid10: fix problem with on-stack allocation of r10bio structure.

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH gre...@linuxfoundation.org 3.5-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown ne...@suse.de commit e0ee778528bbaad28a5c69d2e219269a3a096607 upstream. A 'struct r10bio' has an array of per-copy information at the end.