[PATCH] sunrpc: add missing spin_unlock
[firefly-linux-kernel-4.4.55.git] / net / sunrpc / svcauth.c
index 0004c1f0ef047377d1db5a645d5e9d0e745ed069..ee9bb1522d5ecb54c245d060af9669edf34cd216 100644 (file)
@@ -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);
        }
 }