From: NeilBrown Date: Mon, 6 Apr 2009 04:40:38 +0000 (+1000) Subject: md/raid1 - don't assume newly allocated bvecs are initialised. X-Git-Tag: v2.6.30-rc1~176^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=303a0e11d0ee136ad8f53f747f3c377daece763b;p=pandora-kernel.git md/raid1 - don't assume newly allocated bvecs are initialised. Since commit d3f761104b097738932afcc310fbbbbfb007ef92 newly allocated bvecs aren't initialised to NULL, so we have to be more careful about freeing a bio which only managed to get a few pages allocated to it. Otherwise the resync process crashes. This patch is appropriate for 2.6.29-stable. Cc: stable@kernel.org Cc: "Jens Axboe" Reported-by: Gabriele Tozzi Signed-off-by: NeilBrown --- Reading git-diff-tree failed