diff options
author | Kevin Wolf <kwolf@redhat.com> | 2010-04-12 16:37:13 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2010-05-03 10:07:30 +0200 |
commit | b6ce07aa83bdee3cfd2610f270a0ce304e78df95 (patch) | |
tree | 193fb240fd386041990b77e5e15cb0e88227619a /block/dmg.c | |
parent | 84a12e6648444f517055138a7d7f25a22d7e1029 (diff) |
block: Split bdrv_open
bdrv_open contains quite some code that is only useful for opening images (as
opposed to opening files by a protocol), for example snapshots.
This patch splits the code so that we have bdrv_open_file() for files (uses
protocols), bdrv_open() for images (uses format drivers) and bdrv_open_common()
for the code common for opening both images and files.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/dmg.c')
0 files changed, 0 insertions, 0 deletions