public inbox for linux-next@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH next-20090316] sunrpc: fix build breakage
@ 2009-03-16 12:51 Alexander Beregalov
  2009-03-16 13:04 ` Trond Myklebust
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Beregalov @ 2009-03-16 12:51 UTC (permalink / raw)
  To: linux-next-u79uwXL29TY76Z2rM5mHXA,
	linux-nfs-u79uwXL29TY76Z2rM5mHXA,
	Trond.Myklebust-HgOvQuBEEgTQT0dZR+AlfA

net/sunrpc/clnt.c: In function 'call_bind_status':
net/sunrpc/clnt.c:994: error: 'struct rpc_task' has no member named
'tk_pid'
net/sunrpc/clnt.c: In function 'call_connect_status':
net/sunrpc/clnt.c:1051: error: 'struct rpc_task' has no member named
'tk_pid'

rpc_task has tk_pid if RPC_DEBUG is defined.

Signed-off-by: Alexander Beregalov <a.beregalov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---

 net/sunrpc/clnt.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c
index efd0c7b..68cb91a 100644
--- a/net/sunrpc/clnt.c
+++ b/net/sunrpc/clnt.c
@@ -990,7 +990,7 @@ call_bind_status(struct rpc_task *task)
 		return;
 	default:
 		if (net_ratelimit())
-			printk("RPC: %5u unrecognized rpcbind error (%d)\n",
+			dprintk("RPC: %5u unrecognized rpcbind error (%d)\n",
 					task->tk_pid, -task->tk_status);
 	}
 
@@ -1047,7 +1047,7 @@ call_connect_status(struct rpc_task *task)
 		break;
 	default:
 		if (net_ratelimit())
-			printk("RPC: %5u unrecognized connect error (%d)\n",
+			dprintk("RPC: %5u unrecognized connect error (%d)\n",
 					task->tk_pid, status);
 		rpc_exit(task, -EIO);
 	}
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-03-18 15:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-16 12:51 [PATCH next-20090316] sunrpc: fix build breakage Alexander Beregalov
2009-03-16 13:04 ` Trond Myklebust
     [not found]   ` <1237208680.7229.14.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2009-03-18 15:56     ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox