diff options
author | Peter Lieven <pl@kamp.de> | 2013-10-24 12:06:51 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2013-11-28 10:30:51 +0100 |
commit | aa7bfbfff792538a9eeefe879fc4c629aa0b4203 (patch) | |
tree | 76e999bf142961962cbce6bbfa3a3c9888e67ca3 /block/raw_bsd.c | |
parent | 6faac15fa80c4c1f813d96afc13bceaa3bc5ffe7 (diff) |
block: add flags to bdrv_*_write_zeroes
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/raw_bsd.c')
-rw-r--r-- | block/raw_bsd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/block/raw_bsd.c b/block/raw_bsd.c index 2265dcc03f..fb5181b127 100644 --- a/block/raw_bsd.c +++ b/block/raw_bsd.c @@ -68,9 +68,10 @@ static int64_t coroutine_fn raw_co_get_block_status(BlockDriverState *bs, } static int coroutine_fn raw_co_write_zeroes(BlockDriverState *bs, - int64_t sector_num, int nb_sectors) + int64_t sector_num, int nb_sectors, + BdrvRequestFlags flags) { - return bdrv_co_write_zeroes(bs->file, sector_num, nb_sectors); + return bdrv_co_write_zeroes(bs->file, sector_num, nb_sectors, flags); } static int coroutine_fn raw_co_discard(BlockDriverState *bs, |