提交 8d1018c7 编写于 作者: T Trond Myklebust

SUNRPC: Ensure rpc_task->tk_pid is available for tracepoints

Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
上级 f6de7a39
......@@ -79,7 +79,7 @@ struct rpc_task {
unsigned short tk_flags; /* misc flags */
unsigned short tk_timeouts; /* maj timeouts */
#ifdef RPC_DEBUG
#if defined(RPC_DEBUG) || defined(RPC_TRACEPOINTS)
unsigned short tk_pid; /* debugging aid */
#endif
unsigned char tk_priority : 2,/* Task priority */
......
......@@ -258,7 +258,7 @@ static int rpc_wait_bit_killable(void *word)
return 0;
}
#ifdef RPC_DEBUG
#if defined(RPC_DEBUG) || defined(RPC_TRACEPOINTS)
static void rpc_task_set_debuginfo(struct rpc_task *task)
{
static atomic_t rpc_pid;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册