projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fafedf8
)
sunrpc: use DEFINE_SPINLOCK()
author
Fabian Frederick
<fabf@skynet.be>
Sun, 4 Dec 2016 12:45:28 +0000
(13:45 +0100)
committer
J. Bruce Fields
<bfields@redhat.com>
Tue, 6 Dec 2016 19:18:30 +0000
(14:18 -0500)
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/svcauth.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/svcauth.c
b/net/sunrpc/svcauth.c
index
69841db
..
e112da8
100644
(file)
--- a/
net/sunrpc/svcauth.c
+++ b/
net/sunrpc/svcauth.c
@@
-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)
{