block: package committing code in qmp_transaction()
commit3b0047e86a1c215d830b1ae1da0778db4636b83a
authorWenchao Xia <xiawenc@linux.vnet.ibm.com>
Wed, 8 May 2013 10:25:14 +0000 (8 18:25 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 24 May 2013 14:17:55 +0000 (24 16:17 +0200)
tree08e9d894a831d1f4118abe1ba8397fbce9372d5a
parente2a31e8798e8246bed8ab396a71cd06bf95edde6
block: package committing code in qmp_transaction()

The code is simply moved into a separate function.

Signed-off-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
blockdev.c