diff options
| author | Kevin Wolf | 2013-12-11 19:26:16 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2014-01-24 17:40:01 +0100 |
| commit | d34682cd4a06efe9ee3fc8cb7e8a0ea445299989 (patch) | |
| tree | ff1e3ffdb4f56ff7e2c3d86542a711d731622c4b /fsdev | |
| parent | block: Fix bdrv_commit return value (diff) | |
| download | qemu-d34682cd4a06efe9ee3fc8cb7e8a0ea445299989.tar.gz qemu-d34682cd4a06efe9ee3fc8cb7e8a0ea445299989.tar.xz qemu-d34682cd4a06efe9ee3fc8cb7e8a0ea445299989.zip | |
block: Move initialisation of BlockLimits to bdrv_refresh_limits()
This function separates filling the BlockLimits from bdrv_open(), which
allows it to call it from other operations which may change the limits
(e.g. modifications to the backing file chain or bdrv_reopen)
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
Diffstat (limited to 'fsdev')
0 files changed, 0 insertions, 0 deletions
