summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2013-09-04 20:45:13 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-09-04 20:45:13 +0200
commit8d1018c7745e5ab861cd6cfd3dc4fa425b90575d (patch)
tree3e63a813605c37e8c4ebffbba5856dc7af896d25 /include
parentNFSv4: Document the recover_lost_locks kernel parameter (diff)
downloadlinux-8d1018c7745e5ab861cd6cfd3dc4fa425b90575d.tar.xz
linux-8d1018c7745e5ab861cd6cfd3dc4fa425b90575d.zip
SUNRPC: Ensure rpc_task->tk_pid is available for tracepoints
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/sunrpc/sched.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sunrpc/sched.h b/include/linux/sunrpc/sched.h
index 6d870353674a..8ebb7c043f05 100644
--- a/include/linux/sunrpc/sched.h
+++ b/include/linux/sunrpc/sched.h
@@ -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 */