Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210261
b: refs/heads/master
c: 78b620c
h: refs/heads/master
i:
  210259: 2421db9
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Sep 1, 2010
1 parent 059b0e1 commit 954140d
Show file tree
Hide file tree
Showing 2 changed files with 5 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: aa8a9e25c5e865de85410be4e9269b552974f7a2
refs/heads/master: 78b620ce9e168d08ecfac2f4bb056c511b0601ec
5 changes: 4 additions & 1 deletion trunk/drivers/vhost/vhost.c
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,10 @@ void vhost_dev_cleanup(struct vhost_dev *dev)
dev->mm = NULL;

WARN_ON(!list_empty(&dev->work_list));
kthread_stop(dev->worker);
if (dev->worker) {
kthread_stop(dev->worker);
dev->worker = NULL;
}
}

static int log_access_ok(void __user *log_base, u64 addr, unsigned long sz)
Expand Down

0 comments on commit 954140d

Please sign in to comment.