17.12.2020 20:09, Maxim Levitsky wrote:
This function wraps bdrv_co_delete_file for the common case of removing a file,
which was just created by format driver, on an error condition.

It hides the -ENOTSUPP error, and reports all other errors otherwise.

Use it in luks driver

Signed-off-by: Maxim Levitsky<mlevi...@redhat.com>
Reviewed-by: Alberto Garcia<be...@igalia.com>

I still doubt that not reporting ENOTSUPP has a real benefit.. Still, it's 
preexisting.

Reviewed-by: Vladimir Sementsov-Ogievskiy <vsement...@virtuozzo.com>

--
Best regards,
Vladimir

Reply via email to