Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119015
b: refs/heads/master
c: 85acc40
h: refs/heads/master
i:
  119013: a597870
  119011: 6d4c72a
  119007: 831adf1
v: v3
  • Loading branch information
Cornelia Huck authored and Martin Schwidefsky committed Nov 14, 2008
1 parent 35f425b commit 13f4523
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 50bec4ce5d36ebf96189dcc54e20c7fce4bf61bf
refs/heads/master: 85acc407bf1c49fb40b8f461c2c7526af736d87e
4 changes: 4 additions & 0 deletions trunk/drivers/s390/cio/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -874,11 +874,15 @@ void ccw_device_move_to_orphanage(struct work_struct *work)
replacing_cdev = get_disc_ccwdev_by_dev_id(&dev_id, cdev);
if (replacing_cdev) {
sch_attach_disconnected_device(sch, replacing_cdev);
/* Release reference from get_disc_ccwdev_by_dev_id() */
put_device(&cdev->dev);
return;
}
replacing_cdev = get_orphaned_ccwdev_by_dev_id(css, &dev_id);
if (replacing_cdev) {
sch_attach_orphaned_device(sch, replacing_cdev);
/* Release reference from get_orphaned_ccwdev_by_dev_id() */
put_device(&cdev->dev);
return;
}
sch_create_and_recog_new_device(sch);
Expand Down

0 comments on commit 13f4523

Please sign in to comment.