diff options
author | NeilBrown <neilb@suse.de> | 2009-04-06 20:55:03 +0000 |
---|---|---|
committer | Chris Wright <chrisw@sous-sol.org> | 2009-04-27 10:36:54 -0700 |
commit | 1b5479d3a60b192b9f87f63cf77772dcac2fb131 (patch) | |
tree | 67189c6dd45e7e998bb8f44df3d82fd032045351 /lib/spinlock_debug.c | |
parent | 517f1a189b6c263965774adaf523adefa74c6778 (diff) |
md/raid1 - don't assume newly allocated bvecs are initialised.
upstream commit: 303a0e11d0ee136ad8f53f747f3c377daece763b
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>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions