OSDN Git Service

sunrpc: Fix rpc_task_begin trace point
authorChuck Lever <chuck.lever@oracle.com>
Fri, 3 Nov 2017 17:46:06 +0000 (13:46 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Dec 2017 09:33:55 +0000 (10:33 +0100)
commit5a54dcc51a4a600953042686f6d6dfc81e3642d3
tree130d5eba6bcc3464563142cc817f2880cf8d2931
parentc02608144e79ab71f5121937fc95521f131d5447
sunrpc: Fix rpc_task_begin trace point

[ Upstream commit b2bfe5915d5fe7577221031a39ac722a0a2a1199 ]

The rpc_task_begin trace point always display a task ID of zero.
Move the trace point call site so that it picks up the new task ID.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/sunrpc/sched.c