diff options
author | 2010-05-25 14:17:54 +0200 | |
---|---|---|
committer | 2010-06-03 22:39:18 +0930 | |
commit | a5b365a652206ca300256974ed9301a7d241a6ed (patch) | |
tree | 1898846dcce5b1815f8e13d7b0b610c83be1da7f /net/ipv4/tcp_timer.c | |
parent | Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc (diff) | |
download | linux-dev-a5b365a652206ca300256974ed9301a7d241a6ed.tar.xz linux-dev-a5b365a652206ca300256974ed9301a7d241a6ed.zip |
virtio-blk: fix minimum number of S/G elements
We need at least one S/G element to operate properly, as does the block
layer which increments it to one anyway. We hit this due to a qemu
bug which advertises a sg_elements of 0 under some circumstances.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (tweaked logic)
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions