]> git.baikalelectronics.ru Git - kernel.git/commit
virtio: console: Unblock poll on port hot-unplug
authorAmit Shah <amit.shah@redhat.com>
Thu, 2 Sep 2010 12:41:44 +0000 (18:11 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 21 Oct 2010 07:14:01 +0000 (17:44 +1030)
commit5c10252ee96f2c63890c96ecd7e95b184785700e
tree3a6046100b725d8b263c4bd94baf6338dd4208b0
parent5579d7ed6583b7868a74c4358c671f012a196c30
virtio: console: Unblock poll on port hot-unplug

When a port is hot-unplugged while an app is blocked on poll(), unblock
the poll() and return.

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