Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161688AbWKETpt (ORCPT ); Sun, 5 Nov 2006 14:45:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161689AbWKETpt (ORCPT ); Sun, 5 Nov 2006 14:45:49 -0500 Received: from smtp.osdl.org ([65.172.181.4]:64484 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S1161688AbWKETps (ORCPT ); Sun, 5 Nov 2006 14:45:48 -0500 Date: Sun, 5 Nov 2006 11:45:33 -0800 From: Andrew Morton To: Peter Zijlstra , riesebie@lxtec.de Cc: Akinobu Mita , linux-kernel@vger.kernel.org, Andy Adamson , "J. Bruce Fields" , Trond Myklebust , Olaf Kirch Subject: Re: [PATCH 1/2] sunrpc: add missing spin_unlock Message-Id: <20061105114533.4f57f333.akpm@osdl.org> In-Reply-To: <1162744516.26989.43.camel@twins> References: <20061028185554.GM9973@localhost> <20061029133551.GA10072@localhost> <20061029133700.GA10295@localhost> <1162744516.26989.43.camel@twins> X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.17; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1636 Lines: 44 On Sun, 05 Nov 2006 17:35:16 +0100 Peter Zijlstra wrote: > On Sun, 2006-10-29 at 22:37 +0900, Akinobu Mita wrote: > > auth_domain_put() forgot to unlock acquired spinlock. > > > > Cc: Olaf Kirch > > Cc: Andy Adamson > > Cc: J. Bruce Fields > > Cc: Trond Myklebust > > Signed-off-by: Akinobu Mita > > Acked-by: Peter Zijlstra > > I just found this too while trying to get .19-rc4-git up and running on > a machine here - took me a few hours. > > It made my kernel decidedly unhappy :-( > > Andrew, could you push this and: > http://lkml.org/lkml/2006/11/3/109 > into .19 still? - those patches are needed to make todays git happy on > my machine. OK. > > Index: work-fault-inject/net/sunrpc/svcauth.c > > =================================================================== > > --- work-fault-inject.orig/net/sunrpc/svcauth.c > > +++ work-fault-inject/net/sunrpc/svcauth.c > > @@ -126,6 +126,7 @@ void auth_domain_put(struct auth_domain > > if (atomic_dec_and_lock(&dom->ref.refcount, &auth_domain_lock)) { > > hlist_del(&dom->hash); > > dom->flavour->domain_release(dom); > > + spin_unlock(&auth_domain_lock); > > } > > } I wonder if this will fix http://bugzilla.kernel.org/show_bug.cgi?id=7457 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/