Re: [PATCH v2] vfs: fix: don't increase bio_slab_max if krealloc()fails

From: Jens Axboe
Date: Mon Oct 22 2012 - 15:59:46 EST

On 2012-10-22 21:53, Anna Leuschner wrote:
> Without the patch, bio_slab_max, representing bio_slabs capacity, is
> increased before krealloc() of bio_slabs. If krealloc() fails,
> bio_slab_max is too high. Fix that by only updating bio_slab_max if
> krealloc() is successful.

That's a lot better, thanks!

Jens Axboe

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at