Commit a5b103cd authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ACPI suspend/resume locking fix

Patch from Andreas Mohr <andi@rhlx01.fht-esslingen.de>

Need to retake the spinlock in __pdflush() before continuing.
parent 416769ea
...@@ -106,6 +106,7 @@ static int __pdflush(struct pdflush_work *my_work) ...@@ -106,6 +106,7 @@ static int __pdflush(struct pdflush_work *my_work)
schedule(); schedule();
if (current->flags & PF_FREEZE) { if (current->flags & PF_FREEZE) {
refrigerator(PF_IOTHREAD); refrigerator(PF_IOTHREAD);
spin_lock_irq(&pdflush_lock);
continue; continue;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment