Hi all! Here some refactoring patches, as a first step for backup-top filter introduction.
v7: 01,03,04: add Max's r-b 05: fix s/return NULL/goto error/ [Max] v6: 01: - use end_cluster instead of last_cluster and fix bug in calculation [Max] 02: only rebased on 01, keep r-b 03, 04: new 05: it's rewritten "[PATCH v5 10/11] block/backup: tiny refactor backup_job_create", to make it more useful in general than just code movement inside one function Vladimir Sementsov-Ogievskiy (5): block/backup: simplify backup_incremental_init_copy_bitmap block/backup: move to copy_bitmap with granularity block/backup: refactor and tolerate unallocated cluster skipping block/backup: unify different modes code path block/backup: refactor: split out backup_calculate_cluster_size block/backup.c | 243 +++++++++++++++++++++---------------------------- 1 file changed, 105 insertions(+), 138 deletions(-) -- 2.18.0