Message ID | 20190326211742.26140-1-danielhb413@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | delete created files when block_crypto_co_create_opts_luks fails | expand |
Ping On 3/26/19 6:17 PM, Daniel Henrique Barboza wrote: > In this new interation, the following changes were made from > the previous version [1]: > - moved the 'generic' code from block.c to file-posix.c > - moved the file delete call from qemu_img to the error path > of block_crypto_co_create_opts_luks > > [1] https://lists.gnu.org/archive/html/qemu-devel/2019-03/msg06444.html > > > Daniel Henrique Barboza (3): > block: introducing 'bdrv_co_delete_file' interface > block.c: adding bdrv_delete_file > crypto.c: cleanup created file when block_crypto_co_create_opts_luks > fails > > block.c | 82 +++++++++++++++++++++++++++++++++++++++ > block/crypto.c | 31 +++++++++++++++ > block/file-posix.c | 28 +++++++++++++ > include/block/block.h | 3 ++ > include/block/block_int.h | 6 +++ > 5 files changed, 150 insertions(+) >