提交 e7f45099 编写于 作者: S Santosh kumar pradhan 提交者: Anna Schumaker

sunrpc: kernel BUG at kernel/cred.c:825!

Init missing debug member magic with CRED_MAGIC.
Signed-off-by: NSantosh kumar pradhan <santoshkumar.pradhan@wdc.com>
Reported-by: NDave Jones <davej@codemonkey.org.uk>
Signed-off-by: NAnna Schumaker <Anna.Schumaker@Netapp.com>
上级 6a829eb8
......@@ -41,6 +41,9 @@ static unsigned long number_cred_unused;
static struct cred machine_cred = {
.usage = ATOMIC_INIT(1),
#ifdef CONFIG_DEBUG_CREDENTIALS
.magic = CRED_MAGIC,
#endif
};
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册