diff options
author | Akinobu Mita <[email protected]> | 2006-11-05 23:52:13 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2006-11-06 01:46:23 -0800 |
commit | 0c7bb31db0e35d4b772fac452b722460ca368acf (patch) | |
tree | 7156e6fd932c217b36c93ad310a8970edd4bbd05 | |
parent | 7cc13edc139108bb527b692f0548dce6bc648572 (diff) |
[PATCH] sunrpc: add missing spin_unlock
auth_domain_put() forgot to unlock acquired spinlock.
Cc: Olaf Kirch <[email protected]>
Cc: Andy Adamson <[email protected]>
Cc: J. Bruce Fields <[email protected]>
Acked-by: Trond Myklebust <[email protected]>
Signed-off-by: Akinobu Mita <[email protected]>
Cc: Neil Brown <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r-- | net/sunrpc/svcauth.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/svcauth.c b/net/sunrpc/svcauth.c index 0004c1f0ef04..ee9bb1522d5e 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); } } |