aboutsummaryrefslogtreecommitdiff
path: root/include/io
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2017-03-17 10:17:39 +0800
committerMichael Tokarev <mjt@tls.msk.ru>2017-05-07 09:57:51 +0300
commit3c76c606dab4d2298a9877628fe28bf9e6d99e22 (patch)
treebee66eb917e71b414903742e24ecb3871deaeb20 /include/io
parentec45bbe5f1921c6553fbf9c0c76b358b0403c22d (diff)
block: Make 'replication_state' an enum
BDRVReplicationState.replication_state is a name with a bit of duplication, plus it could be an enum like BDRVReplicationState.mode, which is more readable and also more straightforward in a debugger. Rename it, and improve the type while at it. Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'include/io')
0 files changed, 0 insertions, 0 deletions