aboutsummaryrefslogtreecommitdiff
path: root/hmp.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2017-06-13 22:20:56 +0200
committerMax Reitz <mreitz@redhat.com>2017-07-11 17:45:01 +0200
commit7dacd8bd3d1f7eeb1850d5ad8e1898e6d314889f (patch)
treee745324275fd2df98d59572b6ce628dfdf622517 /hmp.c
parentdc5f690b97ccdffa79fe7169bb26b0ebf06688bf (diff)
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 'hmp.c')
0 files changed, 0 insertions, 0 deletions