diff options
| author | Hanna Reitz <hreitz@redhat.com> | 2021-08-12 10:41:46 +0200 |
|---|---|---|
| committer | Hanna Reitz <hreitz@redhat.com> | 2021-09-15 15:54:07 +0200 |
| commit | 869e7ee827ebf9392ed100119cc7e21a81311536 (patch) | |
| tree | e4e86a0a773cdc782ba0f569ba8eccc19da03fda /scripts/qapi/error.py | |
| parent | 5a1cfd2150596bddbf429f81097cbd8b861515c0 (diff) | |
| download | focaccia-qemu-869e7ee827ebf9392ed100119cc7e21a81311536.tar.gz focaccia-qemu-869e7ee827ebf9392ed100119cc7e21a81311536.zip | |
block/file-posix: Do not force-cap *pnum
bdrv_co_block_status() does it for us, we do not need to do it here. The advantage of not capping *pnum is that bdrv_co_block_status() can cache larger data regions than requested by its caller. Signed-off-by: Hanna Reitz <hreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Message-Id: <20210812084148.14458-5-hreitz@redhat.com>
Diffstat (limited to 'scripts/qapi/error.py')
0 files changed, 0 insertions, 0 deletions