commit | d4446eae630a363403ec73182cf371deeed4e172 | [log] [tgz] |
---|---|---|
author | Max Reitz <mreitz@redhat.com> | Tue Feb 18 18:33:09 2014 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Feb 21 21:02:22 2014 +0100 |
tree | 29d06eb00816d87ed5ac88368302f7c12b434255 | |
parent | 5d12aa63c77b4ee502da9b87de79bf2a9c225ee4 [diff] |
block: Remove bdrv_new() from bdrv_file_open() Change bdrv_file_open() to take a simple pointer to an already existing BDS instead of an indirect one. The BDS will be created in bdrv_open() if necessary. 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>