Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64663
b: refs/heads/master
c: d0a34f9
h: refs/heads/master
i:
  64661: 2d18274
  64659: f56701c
  64655: fe75b4b
v: v3
  • Loading branch information
Ursula Braun authored and Jeff Garzik committed Aug 31, 2007
1 parent 27c6fa6 commit ab5facb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: 3052246c815fe17ff3a9fcb5601c6688b523e5f5
refs/heads/master: d0a34f98d1da66a5b4e02171854e6c04c9916016
5 changes: 2 additions & 3 deletions trunk/drivers/s390/net/qeth_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ qeth_set_offline(struct ccwgroup_device *cgdev)
}

static int
qeth_wait_for_threads(struct qeth_card *card, unsigned long threads);
qeth_threads_running(struct qeth_card *card, unsigned long threads);


static void
Expand All @@ -576,8 +576,7 @@ qeth_remove_device(struct ccwgroup_device *cgdev)
if (!card)
return;

if (qeth_wait_for_threads(card, 0xffffffff))
return;
wait_event(card->wait_q, qeth_threads_running(card, 0xffffffff) == 0);

if (cgdev->state == CCWGROUP_ONLINE){
card->use_hard_stop = 1;
Expand Down

0 comments on commit ab5facb

Please sign in to comment.