]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r231883
authorgibbs <gibbs@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 29 Feb 2012 18:41:59 +0000 (18:41 +0000)
committergibbs <gibbs@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 29 Feb 2012 18:41:59 +0000 (18:41 +0000)
commitd94fe67db34f955e1b258a4595a1dff6a3068628
tree2aa6eafdd72069fb7f8408ca2a767e5736abfdce
parent8ba0a405a6ad007d9d65798cfba286f12ce08502
MFC r231883
===========
Fix regression in the handling of blkback close events for
devices that are unplugged via QEMU.

sys/dev/xen/blkback/blkback.c:
Toolstack initiated closures change the frontend's state
to Closing.  The backend must change to Closing as well,
even if we can't actually close yet, in order for the
frontend to notice and start the closing process.

git-svn-id: svn://svn.freebsd.org/base/stable/9@232310 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/xen/blkback/blkback.c