[BLKTAP] fix race between ufe_ring and blk_ring in blktap.c

Signed-off-by: Jake Wires <jwires@xensource.com>
This commit is contained in:
Jake Wires committed 2006-11-16 18:47:28 -08:00
1 parent edd64e7966
commit e92b61a44e
1 file changed
+1 -1
@@ -1059,9 +1059,9 @@ static int blktap_read_ufe_ring(tap_blkif_t *info)
map[offset] = NULL;
}
fast_flush_area(pending_req, pending_idx, usr_idx, info->minor);
info->idx_map[usr_idx] = INVALID_REQ;
make_response(blkif, pending_req->id, res.operation,
res.status);
info->idx_map[usr_idx] = INVALID_REQ;
blkif_put(pending_req->blkif);
free_req(pending_req);
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.