[Qemu-devel] [PATCH v3 0/3] delete created files when block_crypto_co_create_opts_luks fails

Daniel Henrique Barboza posted 3 patches 5 years ago
Test asan passed
Test docker-mingw@fedora passed
Test docker-clang@ubuntu passed
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190326211742.26140-1-danielhb413@gmail.com
Maintainers: Max Reitz <mreitz@redhat.com>, Kevin Wolf <kwolf@redhat.com>
There is a newer version of this series
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(+)
[Qemu-devel] [PATCH v3 0/3] delete created files when block_crypto_co_create_opts_luks fails
Posted by Daniel Henrique Barboza 5 years ago
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(+)

-- 
2.20.1


Re: [Qemu-devel] [PATCH v3 0/3] delete created files when block_crypto_co_create_opts_luks fails
Posted by Daniel Henrique Barboza 5 years ago
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(+)
>