Message ID | 20150519071259.GA6847@dhcp22.suse.cz (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
On Tue, May 19, 2015 at 09:12:59AM +0200, Michal Hocko wrote: > On Mon 18-05-15 10:10:50, Linus Torvalds wrote: > > On Mon, May 18, 2015 at 2:31 AM, Peter Zijlstra <peterz@infradead.org> wrote: > > > Subject: watchdog: Fix merge 'conflict' > > > > > > Two watchdog changes that came through different trees had a non > > > conflicting conflict, that is, one changed the semantics of a variable > > > but no actual code conflict happened. So the merge appeared fine, but > > > the resulting code did not behave as expected. > > > > Ok, I see that people are still discussing this, but I'll apply it > > as-is since I want to get rc4 out the door, and I guess people can > > tweak this if there's anything else we want to do longer-term. > > The final patch from Peter has a typo. Without the following the system > deadlocks obviously: Duh, sorry about that. :/ -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/kernel/watchdog.c b/kernel/watchdog.c index 506edcc500c4..581a68a04c64 100644 --- a/kernel/watchdog.c +++ b/kernel/watchdog.c @@ -621,7 +621,7 @@ void watchdog_nmi_enable_all(void) put_online_cpus(); unlock: - mutex_lock(&watchdog_proc_mutex); + mutex_unlock(&watchdog_proc_mutex); } void watchdog_nmi_disable_all(void)