diff options
author | Max Reitz <mreitz@redhat.com> | 2014-02-18 18:33:11 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-02-21 21:02:22 +0100 |
commit | 5acd9d81e1a59e1929aa3a06571f3fda1101c3a2 (patch) | |
tree | 9ffafe41eb0cf1df4764185519ee5529c336ade8 /qemu-img-cmds.hx | |
parent | 5469a2a688b47bc6d8d224c3f1b02cd96b0e4b65 (diff) |
block: Reuse success path from bdrv_open()
The fail and success paths of bdrv_file_open() may be further shortened
by reusing code already existent in bdrv_open(). This includes
bdrv_file_open() not taking the reference to options which allows the
removal of QDECREF(options) in that function.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-img-cmds.hx')
0 files changed, 0 insertions, 0 deletions