Max Reitz 2e40134bfd block: Make bdrv_file_open() static
Add the bdrv_open() option BDRV_O_PROTOCOL which results in passing the
call to bdrv_file_open(). Additionally, make bdrv_file_open() static and
therefore bdrv_open() the only way to call it.

Consequently, all existing calls to bdrv_file_open() have to be adjusted
to use bdrv_open() with the BDRV_O_PROTOCOL flag instead.

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>
2014-02-21 21:02:22 +01:00
..
2014-02-21 21:02:22 +01:00
2014-02-17 11:57:23 -05:00
2014-02-17 11:57:23 -05:00
2014-02-09 09:12:38 +01:00
2014-02-17 11:57:23 -05:00
2014-02-21 21:02:22 +01:00
2014-02-21 21:02:22 +01:00
2014-02-21 21:02:22 +01:00
2014-02-17 11:57:23 -05:00
2014-02-21 21:02:22 +01:00
2014-01-31 22:05:03 +01:00
2014-02-21 21:02:22 +01:00
2014-02-21 21:02:22 +01:00