Fam Zheng c16de8f59a block-backend: Refactor inactivate check
The logic will be fixed (extended), move it to a separate function.

Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <20170823134242.12080-2-famz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
2017-08-23 10:21:55 -05:00
..
2016-10-07 14:14:06 +02:00
2016-10-07 14:14:06 +02:00
2017-07-14 09:36:40 +01:00
2017-07-11 17:44:57 +02:00
2017-08-08 15:19:16 +02:00
2017-07-25 16:33:31 +02:00
2016-11-25 13:51:30 +01:00
2016-06-07 18:19:24 +03:00
2017-07-17 11:34:11 +08:00
2017-07-17 11:34:11 +08:00
2017-07-14 09:36:40 +01:00
2017-07-17 11:34:20 +08:00
2017-07-17 11:34:20 +08:00
2017-07-17 11:28:15 +08:00
2016-09-23 11:42:52 +08:00
2017-08-11 13:23:40 +02:00