]> git.proxmox.com Git - qemu.git/commit - blockdev.c
blockdev: rename BlkTransactionStates to singular
authorStefan Hajnoczi <stefanha@redhat.com>
Mon, 24 Jun 2013 15:13:15 +0000 (17:13 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 28 Jun 2013 07:20:26 +0000 (09:20 +0200)
commitba5d6ab68f7bc55520cddd5e00bd48b041c7aecd
treefee0714af6300a21e67c75302e5a9792aaf79663
parent99a9addf567e31244d934376060dd1d34f0f012c
blockdev: rename BlkTransactionStates to singular

The QMP 'transaction' command keeps a list of in-flight transactions.
The transaction state structure is called BlkTransactionStates even
though it only deals with a single transaction.  The only plural thing
is the linked list of transaction states.

I find it confusing to call the single structure "States".  This patch
renames it to "State", just like BlockDriverState is singular.

Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
blockdev.c