Version 2 now splits the stuff into separate driver backend funcs.
Peter Krempa (2):
storage: wipe: Move helper code into storage backend
storage: Split out volume wiping as separate backend function
src/storage/storage_backend.c | 203 +++++++++++++++++++++++++++++++++
src/storage/storage_backend.h | 12 ++
src/storage/storage_backend_disk.c | 1 +
src/storage/storage_backend_fs.c | 3 +
src/storage/storage_backend_iscsi.c | 1 +
src/storage/storage_backend_logical.c | 1 +
src/storage/storage_backend_mpath.c | 1 +
src/storage/storage_backend_scsi.c | 1 +
src/storage/storage_driver.c | 205 +---------------------------------
9 files changed, 229 insertions(+), 199 deletions(-)
--
2.0.0