virtio_blk: drop config_enable
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 14 Oct 2014 23:52:26 +0000 (10:22 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 14 Oct 2014 23:54:56 +0000 (10:24 +1030)
commitcc74f71934da13fa979669467c04f0d2e5563112
tree70b43b8bc5dfadc50410630e2e06ea7c23788908
parent22b7050a024d7deb0c9ef1e14ed73e3b1e369f24
virtio_blk: drop config_enable

Now that virtio core ensures config changes don't
arrive during probing, drop config_enable flag
in virtio blk.
On removal, flush is now sufficient to guarantee that
no change work is queued.

This help simplify the driver, and will allow
setting DRIVER_OK earlier without losing config
change notifications.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/block/virtio_blk.c