Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266183
b: refs/heads/master
c: cf177fd
h: refs/heads/master
i:
  266181: a0e3ed8
  266179: a809736
  266175: f0e193f
v: v3
  • Loading branch information
Konrad Rzeszutek Wilk authored and David S. Miller committed Sep 27, 2011
1 parent 26a2e80 commit abd1fc6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2aefcad8666e0c7c1aff51c0dacc164a1b681895
refs/heads/master: cf177fd049d6248b8c594bd7fa3ba56313f7d405
2 changes: 2 additions & 0 deletions trunk/drivers/xen/xen-pciback/xenbus.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ static int xen_pcibk_export_device(struct xen_pcibk_device *pdev,
goto out;

dev_dbg(&dev->dev, "registering for %d\n", pdev->xdev->otherend_id);
dev->dev_flags |= PCI_DEV_FLAGS_ASSIGNED;
if (xen_register_device_domain_owner(dev,
pdev->xdev->otherend_id) != 0) {
dev_err(&dev->dev, "device has been assigned to another " \
Expand Down Expand Up @@ -288,6 +289,7 @@ static int xen_pcibk_remove_device(struct xen_pcibk_device *pdev,
}

dev_dbg(&dev->dev, "unregistering for %d\n", pdev->xdev->otherend_id);
dev->dev_flags &= ~PCI_DEV_FLAGS_ASSIGNED;
xen_unregister_device_domain_owner(dev);

xen_pcibk_release_pci_dev(pdev, dev);
Expand Down

0 comments on commit abd1fc6

Please sign in to comment.