[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [TAPDISK] unlock sector on error case



# HG changeset patch
# User Jake Wires <jwires@xxxxxxxxxxxxx>
# Date 1174083806 25200
# Node ID d64c0af015dd19e6ef30041f7e4531bcec5e465e
# Parent  62754c2fdcfa923ca0efd0282e111a65ad76062b
[TAPDISK] unlock sector on error case
Signed-off-by: Jake Wires <jwires@xxxxxxxxxxxxx>
---
 tools/blktap/drivers/block-qcow.c |    1 +
 1 files changed, 1 insertion(+)

diff -r 62754c2fdcfa -r d64c0af015dd tools/blktap/drivers/block-qcow.c
--- a/tools/blktap/drivers/block-qcow.c Fri Mar 16 18:59:55 2007 +0000
+++ b/tools/blktap/drivers/block-qcow.c Fri Mar 16 15:23:26 2007 -0700
@@ -1057,6 +1057,7 @@ int tdqcow_queue_write(struct disk_drive
                                                    index_in_cluster+n);
                if (!cluster_offset) {
                        DPRINTF("Ooops, no write cluster offset!\n");
+                       aio_unlock(s, sector);
                        return cb(dd, -EIO, sector, nb_sectors, id, private);
                }
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.