]> git.proxmox.com Git - qemu.git/commit
qcow2: Clear L2 table cache after write error
authorKevin Wolf <kwolf@redhat.com>
Tue, 13 Apr 2010 09:43:27 +0000 (11:43 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 28 May 2010 11:14:25 +0000 (13:14 +0200)
commit1b7c801b40ce90795397bb566d019c9b76ef9c13
tree4efd1aaa1638c5be722281ee3d56a12df76bd56b
parent29f91781bd300b228d9c38b9f6c1e0b6a38f25fb
qcow2: Clear L2 table cache after write error

If the L2 table was already updated in cache, but writing it to disk has
failed, we must not continue using the changed version in the cache to stay
consistent with what's on the disk.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2-cluster.c