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<[email protected]>
Reviewed-by: Alberto Garcia<[email protected]>
I still doubt that not reporting ENOTSUPP has a real benefit.. Still, it's
preexisting.
Reviewed-by: Vladimir Sementsov-Ogievskiy <[email protected]>
--
Best regards,
Vladimir