blockdev: transactions: rename some things
commit240396965fc653756aed90edc2985f05783c5ad6
authorVladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Wed, 10 May 2023 15:06:20 +0000 (10 18:06 +0300)
committerKevin Wolf <kwolf@redhat.com>
Fri, 19 May 2023 17:12:12 +0000 (19 19:12 +0200)
tree6e603b0e6bac1df760df66b640a83d15647adf4a
parent8187f63c9c64c2f2322fc6730c478a57bc0ce9eb
blockdev: transactions: rename some things

Look at qmp_transaction(): dev_list is not obvious name for list of
actions. Let's look at qapi spec, this argument is "actions". Let's
follow the common practice of using same argument names in qapi scheme
and code.

To be honest, rename props to properties for same reason.

Next, we have to rename global map of actions, to not conflict with new
name for function argument.

Rename also dev_entry loop variable accordingly to new name of the
list.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20230510150624.310640-3-vsementsov@yandex-team.ru>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
blockdev.c