raw-posix: Fix comment for raw_co_get_block_status()
Missed in commit 705be72
.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
This commit is contained in:
parent
4e70f9271d
commit
be2ebc6dad
@ -1555,9 +1555,7 @@ static int try_seek_hole(BlockDriverState *bs, off_t start, off_t *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns true iff the specified sector is present in the disk image. Drivers
|
* Returns the allocation status of the specified sectors.
|
||||||
* not implementing the functionality are assumed to not support backing files,
|
|
||||||
* hence all their sectors are reported as allocated.
|
|
||||||
*
|
*
|
||||||
* If 'sector_num' is beyond the end of the disk image the return value is 0
|
* If 'sector_num' is beyond the end of the disk image the return value is 0
|
||||||
* and 'pnum' is set to 0.
|
* and 'pnum' is set to 0.
|
||||||
|
Loading…
Reference in New Issue
Block a user