|
From: | Vladimir Sementsov-Ogievskiy |
Subject: | Re: [PATCH v6 3/3] block: qcow2: remove the created file on initialization error |
Date: | Fri, 18 Dec 2020 09:15:27 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 |
17.12.2020 20:09, Maxim Levitsky wrote:
If the qcow initialization fails, we should remove the file if it was already created, to avoid leaving stale files around. We already do this for luks raw images. Signed-off-by: Maxim Levitsky<mlevitsk@redhat.com> Reviewed-by: Alberto Garcia<berto@igalia.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> -- Best regards, Vladimir
[Prev in Thread] | Current Thread | [Next in Thread] |