Re: [PATCH v4 2/5] blockdev: combine DriveBackupState and BlockdevBackupState

2020-09-02 Thread Vladimir Sementsov-Ogievskiy
02.09.2020 21:18, Eric Blake wrote: From: John Snow They have the same fields -- rename it BlockJobActionState. commit/abort/clean functions are identical after it. I think better to combine them as well here (no changes from v3) -- Best regards, Vladimir

[PATCH v4 2/5] blockdev: combine DriveBackupState and BlockdevBackupState

2020-09-02 Thread Eric Blake
From: John Snow They have the same fields -- rename it BlockJobActionState. Signed-off-by: John Snow Signed-off-by: Eric Blake --- blockdev.c | 30 -- 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/blockdev.c b/blockdev.c index 3848a9c8ab86..f17704