From: NeilBrown <[EMAIL PROTECTED]>
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]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
25-akpm/fs/nfsd/nfssvc.c | 2 ++
1 files changed, 2 insertions(+)
diff -puN fs/nfsd/nfssvc.c~nfsd-clear-signals-before-exiting-the-nfsd-thread
fs/nfsd/nfssvc.c
--- 25/fs/nfsd/nfssvc.c~nfsd-clear-signals-before-exiting-the-nfsd-thread
2005-04-12 03:21:49.101672312 -0700
+++ 25-akpm/fs/nfsd/nfssvc.c 2005-04-12 03:21:49.104671856 -0700
@@ -258,6 +258,8 @@ nfsd(struct svc_rqst *rqstp)
break;
err = signo;
}
+ /* Clear signals before calling lockd_down() and svc_exit_thread() */
+ flush_signals(current);
lock_kernel();
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/