Re: [PATCH 2/4] SunRPC: Declare and use rpc_task_pid() to wrap task->tk_pid

2013-09-26 Thread David Howells
David Howells wrote: > Declare and use rpc_task_pid() to wrap task->tk_pid (when it exists) and to > return 0 when it doesn't. This allows us to move towards using no_printk(). > > This was mostly achieved with: > >perl -p -i -e 's/task->tk_pid/rpc_task_pid(task)/g' `git grep -l > 'task->

[PATCH 2/4] SunRPC: Declare and use rpc_task_pid() to wrap task->tk_pid

2013-09-26 Thread David Howells
Declare and use rpc_task_pid() to wrap task->tk_pid (when it exists) and to return 0 when it doesn't. This allows us to move towards using no_printk(). This was mostly achieved with: perl -p -i -e 's/task->tk_pid/rpc_task_pid(task)/g' `git grep -l 'task->tk_pid'` perl -p -i -e 's/data->ta