NeilBrown 303a0e11d0 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" <jens.axboe@oracle.com>
Reported-by: Gabriele Tozzi <gabriele@tozzi.eu>
Signed-off-by: NeilBrown <neilb@suse.de>
2009-04-06 14:40:38 +10:00
..
2006-01-01 22:21:50 +01:00
2009-03-31 14:33:13 +11:00
2009-04-02 19:55:28 +01:00
2009-04-02 19:55:24 +01:00
2009-01-06 03:05:12 +00:00
2009-04-02 19:55:28 +01:00
2007-10-20 02:01:26 +01:00
2009-04-02 19:55:39 +01:00
2009-04-02 19:55:28 +01:00
2009-03-31 15:00:31 +11:00
2009-03-31 14:57:37 +11:00
2009-03-31 15:00:31 +11:00
2005-04-16 15:20:36 -07:00