+12
−1
Loading
bdrv_acct_done was called unconditional. But in case the ioreq has no segments there is no matching bdrv_acct_start call. This could lead to bogus accounting values. Found by code inspection. Signed-off-by:Olaf Hering <olaf@aepfle.de> Signed-off-by:
Stefano Stabellini <stefano.stabellini@eu.citrix.com>