Fixes the error "RPC: failed to contact portmap (errno -512)." when the
server later tries to unregister from the portmapper.
Signed-off-by: Trond Myklebust <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>
Signed-off-by: Neil Brown <[email protected]>
### Diffstat output
./fs/nfsd/nfssvc.c | 2 ++
1 files changed, 2 insertions(+)
diff ./fs/nfsd/nfssvc.c~current~ ./fs/nfsd/nfssvc.c
--- ./fs/nfsd/nfssvc.c~current~ 2005-04-08 10:31:12.000000000 +1000
+++ ./fs/nfsd/nfssvc.c 2005-04-08 10:33:13.000000000 +1000
@@ -259,6 +259,8 @@ nfsd(struct svc_rqst *rqstp)
break;
err = signo;
}
+ /* Clear signals before calling lockd_down() and svc_exit_thread() */
+ flush_signals(current);
lock_kernel();
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs