]> git.karo-electronics.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>
Tue, 4 Sep 2012 00:45:58 +0000 (10:45 +1000)
commite4de428620636ca134203eb000b5c8de27d2effd
tree016de67eac7424910cc3c43a11a1c0eacc4a0082
parent90df8630797ae7db091ada14784404c97a232478
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>
Acked-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/char/virtio_console.c