diff options
| author | Max Reitz <mreitz@redhat.com> | 2017-06-13 22:20:56 +0200 |
|---|---|---|
| committer | Max Reitz <mreitz@redhat.com> | 2017-07-11 17:45:01 +0200 |
| commit | 7dacd8bd3d1f7eeb1850d5ad8e1898e6d314889f (patch) | |
| tree | e745324275fd2df98d59572b6ce628dfdf622517 /util/qemu-coroutine-io.c | |
| parent | dc5f690b97ccdffa79fe7169bb26b0ebf06688bf (diff) | |
| download | focaccia-qemu-7dacd8bd3d1f7eeb1850d5ad8e1898e6d314889f.tar.gz focaccia-qemu-7dacd8bd3d1f7eeb1850d5ad8e1898e6d314889f.zip | |
block/file-posix: Small fixes in raw_create()
Variables should be declared at the start of a block, and if a certain parameter value is not supported it may be better to return -ENOTSUP instead of -EINVAL. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20170613202107.10125-6-mreitz@redhat.com Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'util/qemu-coroutine-io.c')
0 files changed, 0 insertions, 0 deletions