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
..
2013-09-12 10:12:47 +02:00
2013-09-12 10:12:47 +02:00
2013-12-20 16:26:16 +01:00
2014-02-21 21:02:22 +01:00
2014-02-17 11:57:23 -05:00
2013-09-12 10:12:47 +02:00
2013-08-19 15:52:19 +02:00
2013-12-16 10:12:20 +01: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
2013-09-12 10:12:48 +02: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