提交 938b93ad 编写于 作者: R Robert P. J. Day 提交者: David S. Miller

[NET]: Add debugging names to __RW_LOCK_UNLOCKED macros.

Signed-off-by: NRobert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 577f99c1
......@@ -81,7 +81,7 @@
#include <linux/netfilter_ipv4.h>
static struct raw_hashinfo raw_v4_hashinfo = {
.lock = __RW_LOCK_UNLOCKED(),
.lock = __RW_LOCK_UNLOCKED(raw_v4_hashinfo.lock),
};
void raw_hash_sk(struct sock *sk, struct raw_hashinfo *h)
......
......@@ -62,7 +62,7 @@
#include <linux/seq_file.h>
static struct raw_hashinfo raw_v6_hashinfo = {
.lock = __RW_LOCK_UNLOCKED(),
.lock = __RW_LOCK_UNLOCKED(raw_v6_hashinfo.lock),
};
static void raw_v6_hash(struct sock *sk)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册