rpcb_clnt.c (c1f3ee120bb61045b1c0a3ead620d1d65af47130) | rpcb_clnt.c (5d00837b90340af9106dcd93af75fd664c8eb87f) |
---|---|
1/* 2 * In-kernel rpcbind client supporting versions 2, 3, and 4 of the rpcbind 3 * protocol 4 * 5 * Based on RFC 1833: "Binding Protocols for ONC RPC Version 2" and 6 * RFC 3530: "Network File System (NFS) version 4 Protocol" 7 * 8 * Original: Gilles Quillard, Bull Open Source, 2005 <gilles.quillard@bull.net> --- 284 unchanged lines hidden (view full) --- 293 status = -EAGAIN; /* tell caller to check again */ 294 dprintk("RPC: %5u %s: waiting for another binder\n", 295 task->tk_pid, __FUNCTION__); 296 goto bailout_nowake; 297 } 298 299 /* Put self on queue before sending rpcbind request, in case 300 * rpcb_getport_done completes before we return from rpc_run_task */ | 1/* 2 * In-kernel rpcbind client supporting versions 2, 3, and 4 of the rpcbind 3 * protocol 4 * 5 * Based on RFC 1833: "Binding Protocols for ONC RPC Version 2" and 6 * RFC 3530: "Network File System (NFS) version 4 Protocol" 7 * 8 * Original: Gilles Quillard, Bull Open Source, 2005 <gilles.quillard@bull.net> --- 284 unchanged lines hidden (view full) --- 293 status = -EAGAIN; /* tell caller to check again */ 294 dprintk("RPC: %5u %s: waiting for another binder\n", 295 task->tk_pid, __FUNCTION__); 296 goto bailout_nowake; 297 } 298 299 /* Put self on queue before sending rpcbind request, in case 300 * rpcb_getport_done completes before we return from rpc_run_task */ |
301 rpc_sleep_on(&xprt->binding, task, NULL, NULL); | 301 rpc_sleep_on(&xprt->binding, task, NULL); |
302 303 /* Someone else may have bound if we slept */ 304 if (xprt_bound(xprt)) { 305 status = 0; 306 dprintk("RPC: %5u %s: already bound\n", 307 task->tk_pid, __FUNCTION__); 308 goto bailout_nofree; 309 } --- 332 unchanged lines hidden --- | 302 303 /* Someone else may have bound if we slept */ 304 if (xprt_bound(xprt)) { 305 status = 0; 306 dprintk("RPC: %5u %s: already bound\n", 307 task->tk_pid, __FUNCTION__); 308 goto bailout_nofree; 309 } --- 332 unchanged lines hidden --- |