diff options
author | Linus Torvalds | 2005-06-26 02:16:53 +0200 |
---|---|---|
committer | Linus Torvalds | 2005-06-26 02:16:53 +0200 |
commit | 2031d0f586839bc68f35bcf8580b18947f8491d4 (patch) | |
tree | e317615b4cb62350edeea0afe0a4fc94152cee29 /drivers/block | |
parent | [PATCH] schedule the obsolete raw driver for removal (diff) | |
parent | [PATCH] Cleanup patch for process freezing (diff) | |
download | kernel-qcow2-linux-2031d0f586839bc68f35bcf8580b18947f8491d4.tar.gz kernel-qcow2-linux-2031d0f586839bc68f35bcf8580b18947f8491d4.tar.xz kernel-qcow2-linux-2031d0f586839bc68f35bcf8580b18947f8491d4.zip |
Merge Christoph's freeze cleanup patch
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/pktcdvd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/block/pktcdvd.c b/drivers/block/pktcdvd.c index 7f3d78de265c..7b838342f0a3 100644 --- a/drivers/block/pktcdvd.c +++ b/drivers/block/pktcdvd.c @@ -1251,8 +1251,7 @@ static int kcdrwd(void *foobar) VPRINTK("kcdrwd: wake up\n"); /* make swsusp happy with our thread */ - if (current->flags & PF_FREEZE) - refrigerator(PF_FREEZE); + try_to_freeze(); list_for_each_entry(pkt, &pd->cdrw.pkt_active_list, list) { if (!pkt->sleep_time) |