]> git.baikalelectronics.ru Git - kernel.git/commit
virtio: console: Un-block reads on chardev close
authorAmit Shah <amit.shah@redhat.com>
Thu, 2 Sep 2010 12:41:43 +0000 (18:11 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 21 Oct 2010 07:14:01 +0000 (17:44 +1030)
commit5579d7ed6583b7868a74c4358c671f012a196c30
treeb0c65cf625ac22023722280e0f113240e129007c
parent81b308779c913527884dd3f8cc8d33e2d1c9b4d9
virtio: console: Un-block reads on chardev close

If a chardev is closed, any blocked read / poll calls should just return
and not attempt to use other state.

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