]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6f292a2f5ac462f19f48a9ef5054629d3e58bfa1
tree70b43b8bc5dfadc50410630e2e06ea7c23788908
parent1906ee2f5c363b095f121eaa4599300d7191f837
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