block: Reuse reference handling from bdrv_open()
commit5d12aa63c77b4ee502da9b87de79bf2a9c225ee4
authorMax Reitz <mreitz@redhat.com>
Tue, 18 Feb 2014 17:33:08 +0000 (18 18:33 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 21 Feb 2014 20:02:22 +0000 (21 21:02 +0100)
tree2b57b2ec0c2c336f0923d1badc46b77c6699018d
parent2e40134bfdbb073512f9f264cb96162787ec62b1
block: Reuse reference handling from bdrv_open()

Remove the reference parameter and the related handling code from
bdrv_file_open(), since it exists in bdrv_open() now as well.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c