xen/blkback: fix disconnect while I/Os in flight
[linux-2.6-microblaze.git] / drivers / block / xen-blkback / common.h
index dea61f6..638597b 100644 (file)
@@ -281,6 +281,7 @@ struct xen_blkif_ring {
 
        wait_queue_head_t       wq;
        atomic_t                inflight;
+       bool                    active;
        /* One thread per blkif ring. */
        struct task_struct      *xenblkd;
        unsigned int            waiting_reqs;