Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86088
b: refs/heads/master
c: 79df4c6
h: refs/heads/master
v: v3
  • Loading branch information
Kenji Kaneshige authored and Greg Kroah-Hartman committed Feb 21, 2008
1 parent 734fcb8 commit a2a3a0a
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 13d36c248379ca09c269f5dbed6dce1e3a326a48
refs/heads/master: 79df4c60c5b24ebc90f591d5991b22782813fcfe
2 changes: 1 addition & 1 deletion trunk/drivers/pci/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ int pci_proc_detach_device(struct pci_dev *dev)
struct proc_dir_entry *e;

if ((e = dev->procent)) {
if (atomic_read(&e->count))
if (atomic_read(&e->count) > 1)
return -EBUSY;
remove_proc_entry(e->name, dev->bus->procdir);
dev->procent = NULL;
Expand Down

0 comments on commit a2a3a0a

Please sign in to comment.