diff options
author | Laszlo Ersek <lersek@redhat.com> | 2013-08-21 12:41:19 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2013-08-30 15:28:52 +0200 |
commit | 1565262c370195f1d7781d98f78fa002ab16b385 (patch) | |
tree | 67ce0a6526d3c4cc7bff2f2371b4dededbfd8600 /block | |
parent | 9eaafd90d14b6049cc1d0e0b6c712459d447363c (diff) |
raw_bsd: add raw_create()
On 08/05/13 15:03, Paolo Bonzini wrote:
>
> [...]
>
> 2) This is also a simple forwarder function:
>
> .bdrv_create
>
> but there is no BlockDriverState argument so the forwarded-to function
> does not have a bs->file argument either. The forwarded-to function is
> bdrv_create_file.
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block')
-rw-r--r-- | block/raw_bsd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/block/raw_bsd.c b/block/raw_bsd.c index 19091a3ba2..5bcbe71c00 100644 --- a/block/raw_bsd.c +++ b/block/raw_bsd.c @@ -108,3 +108,7 @@ static TYPE raw_has_zero_init(BlockDriverState *bs) return bdrv_has_zero_init(bs->file); } +static TYPE raw_create(void) +{ + return bdrv_create_file(); +} |