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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux