Re: [PATCH 1/2] sunrpc: add missing spin_unlock

From: Elimar Riesebieter
Date: Mon Nov 06 2006 - 07:37:00 EST


On Sun, 05 Nov 2006 the mental interface of
Andrew Morton told:

[...]
> > > 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

It fixes it. Patched a native 2.6.19-rc4 and it works. Thanks.

Elimar

--
Planung:
Ersatz des Zufalls durch den Irrtum.
-unknown-

Attachment: pgp00000.pgp
Description: PGP signature