diff options
author | NeilBrown <neilb@suse.de> | 2009-04-06 04:40:38 (GMT) |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-04-06 04:40:38 (GMT) |
commit | 303a0e11d0ee136ad8f53f747f3c377daece763b (patch) | |
tree | 197f4a00ec3eba9e00cdc264c25749914667c389 /include/linux/slub_def.h | |
parent | 6bb597507f9839b13498781e481f5458aea33620 (diff) | |
download | linux-fsl-qoriq-303a0e11d0ee136ad8f53f747f3c377daece763b.tar.xz |
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>
Diffstat (limited to 'include/linux/slub_def.h')
0 files changed, 0 insertions, 0 deletions