diff options
author | Max Reitz <mreitz@redhat.com> | 2020-01-22 17:45:29 +0100 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2020-02-20 16:43:42 +0100 |
commit | fd17146cd93d1704cd96d7c2757b325fc7aac6fd (patch) | |
tree | d44ef6656da1e450af829eb168442665d8a59eb8 /nbd | |
parent | 78c81a3f108870d325b0a39d88711366afe6f703 (diff) |
block: Generic file creation fallback
If a protocol driver does not support image creation, we can see whether
maybe the file exists already. If so, just truncating it will be
sufficient.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20200122164532.178040-3-mreitz@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'nbd')
0 files changed, 0 insertions, 0 deletions