From: Akinobu Mita Date: Mon, 6 Nov 2006 07:52:13 +0000 (-0800) Subject: [PATCH] sunrpc: add missing spin_unlock X-Git-Tag: v3.12-rc1~31920^2~20^2~189 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0c7bb31db0e35d4b772fac452b722460ca368acf;p=kernel%2Fkernel-generic.git [PATCH] sunrpc: add missing spin_unlock auth_domain_put() forgot to unlock acquired spinlock. Cc: Olaf Kirch Cc: Andy Adamson Cc: J. Bruce Fields Acked-by: Trond Myklebust Signed-off-by: Akinobu Mita Cc: Neil Brown Acked-by: Peter Zijlstra Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/net/sunrpc/svcauth.c b/net/sunrpc/svcauth.c index 0004c1f..ee9bb15 100644 --- a/net/sunrpc/svcauth.c +++ b/net/sunrpc/svcauth.c @@ -126,6 +126,7 @@ void auth_domain_put(struct auth_domain *dom) 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); } }