]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
virtio/console: Allocate scatterlist according to the current pipe size
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Thu, 9 Aug 2012 12:31:20 +0000 (21:31 +0900)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 22 Aug 2012 00:47:11 +0000 (10:47 +1000)
commit0478b3259a837575ba827035a965c256df84be73
treef4e1172d213a98b6b2b9df416c7f22422495ebf8
parentfb7f6264adfeca95818da1b50d3e54277fc4895b
virtio/console: Allocate scatterlist according to the current pipe size

Allocate scatterlist according to the current pipe size.
This allows splicing bigger buffer if the pipe size has
been changed by fcntl.

Changes in v2:
 - Just a minor fix for avoiding a confliction with previous patch.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/char/virtio_console.c