summaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorAnna Leuschner <anna.m.leuschner@gmail.com>2012-10-22 21:53:36 +0200
committerJens Axboe <axboe@kernel.dk>2012-10-22 22:00:26 +0200
commit386bc35a2d548c28a5083b2e162a20251b37cab5 (patch)
tree14d3f0ac36cd9b56b535c3e5aa3c6ed152d6cf6b /block/blk-core.c
parentblkcg: stop iteration early if root_rl is the only request list (diff)
downloadlinux-386bc35a2d548c28a5083b2e162a20251b37cab5.tar.xz
linux-386bc35a2d548c28a5083b2e162a20251b37cab5.zip
vfs: fix: don't increase bio_slab_max if krealloc() fails
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. Signed-off-by: Anna Leuschner <anna.m.leuschner@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions