]> git.proxmox.com Git - mirror_qemu.git/commit - block/commit.c
commit: Inline commit_populate()
authorKevin Wolf <kwolf@redhat.com>
Fri, 14 Feb 2020 20:08:09 +0000 (21:08 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 18 Feb 2020 09:53:56 +0000 (10:53 +0100)
commit0c42e175fcc9d9ed888e4d7a30237ddf36454d19
treec298090b02a0fd9dc5b4247d511e1bb98e05f70f
parentc5507b4d55f1f2989d3c108be387f62ed092ddc0
commit: Inline commit_populate()

commit_populate() is a very short function and only called in a single
place. Its return value doesn't tell us whether an error happened while
reading or writing, which would be necessary for sending the right data
in the BLOCK_JOB_ERROR QMP event.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20200214200812.28180-5-kwolf@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/commit.c