Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322993
b: refs/heads/master
c: 3368ba2
h: refs/heads/master
i:
  322991: 6eba44b
v: v3
  • Loading branch information
Sebastian Ott authored and Martin Schwidefsky committed Sep 6, 2012
1 parent 62523f1 commit efc9041
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: 43d0be75af8d05654b88d1da494cf292714fbdec
refs/heads/master: 3368ba25bf387109b24732c1e270c628f20e345d
5 changes: 4 additions & 1 deletion trunk/drivers/s390/cio/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -1521,11 +1521,14 @@ static int io_subchannel_sch_event(struct subchannel *sch, int process)
goto out;
break;
case IO_SCH_UNREG_ATTACH:
spin_lock_irqsave(sch->lock, flags);
if (cdev->private->flags.resuming) {
/* Device will be handled later. */
rc = 0;
goto out;
goto out_unlock;
}
sch_set_cdev(sch, NULL);
spin_unlock_irqrestore(sch->lock, flags);
/* Unregister ccw device. */
ccw_device_unregister(cdev);
break;
Expand Down

0 comments on commit efc9041

Please sign in to comment.