Re: [Qemu-devel] [PATCH] qcow2: Invalidate cache after failed read

2010-10-28 Thread Stefan Hajnoczi
On Thu, Oct 28, 2010 at 3:23 PM, Kevin Wolf wrote: > The cache content may be destroyed after a failed read, better not use it any > more. > > Signed-off-by: Kevin Wolf > --- >  block/qcow2-cluster.c  |    1 + >  block/qcow2-refcount.c |    1 + >  2 files changed, 2 insertions(+), 0 deletions(-)

[Qemu-devel] [PATCH] qcow2: Invalidate cache after failed read

2010-10-28 Thread Kevin Wolf
The cache content may be destroyed after a failed read, better not use it any more. Signed-off-by: Kevin Wolf --- block/qcow2-cluster.c |1 + block/qcow2-refcount.c |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/block/qcow2-cluster.c b/block/qcow2-cluster.c index 4