]> git.baikalelectronics.ru Git - kernel.git/commit
virtio: console: introduce a get_inbuf helper to fetch bufs from in_vq
authorAmit Shah <amit.shah@redhat.com>
Mon, 18 Jan 2010 13:45:03 +0000 (19:15 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Feb 2010 03:52:38 +0000 (14:22 +1030)
commit896507b8bd1d6ac5e01f606b08657c9cb68395ba
tree5470aabeb5fcb10c5372b4771ea7d4c48746446e
parent7de982384299e4e6b69970ea9b3da1c557d045bf
virtio: console: introduce a get_inbuf helper to fetch bufs from in_vq

This makes taking locks around the get_buf vq operation easier, as well
as complements the add_inbuf() operation.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/char/virtio_console.c