Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179959
b: refs/heads/master
c: b6a114d
h: refs/heads/master
i:
  179957: 99dca28
  179955: 9541896
  179951: c6da429
v: v3
  • Loading branch information
Michael S. Tsirkin authored and Marcelo Tosatti committed Jan 25, 2010
1 parent ee426aa commit 82032cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cb289d6244a37cf932c571d6deb0daa8030f931b
refs/heads/master: b6a114d27273c37cd0107b0f49af208168498f05
3 changes: 2 additions & 1 deletion trunk/virt/kvm/eventfd.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,13 @@ static void
irqfd_shutdown(struct work_struct *work)
{
struct _irqfd *irqfd = container_of(work, struct _irqfd, shutdown);
u64 cnt;

/*
* Synchronize with the wait-queue and unhook ourselves to prevent
* further events.
*/
remove_wait_queue(irqfd->wqh, &irqfd->wait);
eventfd_ctx_remove_wait_queue(irqfd->eventfd, &irqfd->wait, &cnt);

/*
* We know no new events will be scheduled at this point, so block
Expand Down

0 comments on commit 82032cb

Please sign in to comment.