Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3eb15f28 authored by Fabian Frederick's avatar Fabian Frederick Committed by J. Bruce Fields
Browse files

sunrpc: use DEFINE_SPINLOCK()

parent fafedf81
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -124,8 +124,7 @@ EXPORT_SYMBOL_GPL(svc_auth_unregister);
#define	DN_HASHMAX	(1<<DN_HASHBITS)

static struct hlist_head	auth_domain_table[DN_HASHMAX];
static spinlock_t	auth_domain_lock =
	__SPIN_LOCK_UNLOCKED(auth_domain_lock);
static DEFINE_SPINLOCK(auth_domain_lock);

void auth_domain_put(struct auth_domain *dom)
{