commit | 05c4af54c670f5143bd4ac5d79aa1ef53a9f31ca | [log] [tgz] |
---|---|---|
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | Mon Nov 14 12:44:18 2011 +0000 |
committer | Kevin Wolf <kwolf@redhat.com> | Mon Dec 05 14:51:36 2011 +0100 |
tree | bea330d964c045a5f1ed47f1f03398118b390fa1 | |
parent | e3f652b33228e16e117a93fb919c4e1e4753f5a5 [diff] |
block: use public bdrv_is_allocated() interface There is no need for bdrv_commit() to use the BlockDriver .bdrv_is_allocated() interface directly. Converting to the public interface gives us the freedom to drop .bdrv_is_allocated() entirely in favor of a new .bdrv_co_is_allocated() in the future. Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>