]> git.baikalelectronics.ru Git - kernel.git/commit
xen-fbfront: handle backend CLOSED without CLOSING
authorDavid Vrabel <david.vrabel@citrix.com>
Thu, 18 Oct 2012 10:03:37 +0000 (11:03 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 30 Oct 2012 13:28:17 +0000 (09:28 -0400)
commite32ce8f26f47485476d8896fc268f7fd05e1d9be
tree2c060623dcaccc6a3b7f86408470abd375b8248a
parent317fc3b59bfc40276bedcfe339c3ffec67414737
xen-fbfront: handle backend CLOSED without CLOSING

Backend drivers shouldn't transistion to CLOSED unless the frontend is
CLOSED.  If a backend does transition to CLOSED too soon then the
frontend may not see the CLOSING state and will not properly shutdown.

So, treat an unexpected backend CLOSED state the same as CLOSING.

Acked-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/video/xen-fbfront.c