aboutsummaryrefslogtreecommitdiff
path: root/block/cloop.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2010-04-12 16:37:13 +0200
committerKevin Wolf <kwolf@redhat.com>2010-05-03 10:07:30 +0200
commitb6ce07aa83bdee3cfd2610f270a0ce304e78df95 (patch)
tree193fb240fd386041990b77e5e15cb0e88227619a /block/cloop.c
parent84a12e6648444f517055138a7d7f25a22d7e1029 (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/cloop.c')
0 files changed, 0 insertions, 0 deletions