From: NeilBrown Date: Fri, 8 May 2015 08:19:04 +0000 (+1000) Subject: md/raid5: new alloc_stripe() to allocate an initialize a stripe. X-Git-Tag: omap-for-v4.2/wakeirq-drivers~2^2~39^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f18c1a35f62caccb527e8b0990c8801596e7c662;p=pandora-kernel.git md/raid5: new alloc_stripe() to allocate an initialize a stripe. The new batch_lock and batch_list fields are being initialized in grow_one_stripe() but not in resize_stripes(). This causes a crash on resize. So separate the core initialization into a new function and call it from both allocation sites. Signed-off-by: NeilBrown Fixes: 59fc630b8b5f ("RAID5: batch adjacent full stripe write") --- Reading git-diff-tree failed