Merge Christoph's freeze cleanup patch

This commit is contained in:
Linus Torvalds 2005-06-25 17:16:53 -07:00
commit 2031d0f586
47 changed files with 126 additions and 112 deletions

View file

@ -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)