Add a forgotten return statement

master
Vitaliy Filippov 2021-12-03 00:41:49 +03:00
parent 0bd3a94efd
commit 9fca01dc62
1 changed files with 1 additions and 0 deletions

View File

@ -248,6 +248,7 @@ static int vitastor_file_open(BlockDriverState *bs, QDict *options, int flags, E
{
error_setg(errp, "image does not exist");
vitastor_close(bs);
return -1;
}
if (!client->size)
{