Skip to content
Commit 4b0d41c5 authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

image: Don't unlink image we're dumping into



We want to write into empty image files, so we
unlink them before dumping into. Let's O_TRUNC
it instead.

Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
Acked-by: default avatarAndrew Vagin <avagin@parallels.com>
parent 6efe3f5d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment