summaryrefslogtreecommitdiffstats
path: root/fs/lockd/svc.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@cse.unsw.edu.au>2005-06-24 07:03:11 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-24 09:06:30 +0200
commit46be925fa6f4796e732e16a020fa0ef9d48ea7c8 (patch)
tree7a2dddced28ad3382f41af54d0f311e9da593770 /fs/lockd/svc.c
parent[PATCH] nfsd4: reference count struct nfs4_file (diff)
downloadlinux-46be925fa6f4796e732e16a020fa0ef9d48ea7c8.tar.xz
linux-46be925fa6f4796e732e16a020fa0ef9d48ea7c8.zip
[PATCH] knfsd: lockd: flush signals on shutdown
Silence another annoying "failed to contact portmap (errno -512)" on shutdown. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/lockd/svc.c')
-rw-r--r--fs/lockd/svc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/lockd/svc.c b/fs/lockd/svc.c
index b82e470912e8..6e242556b903 100644
--- a/fs/lockd/svc.c
+++ b/fs/lockd/svc.c
@@ -191,7 +191,9 @@ lockd(struct svc_rqst *rqstp)
printk(KERN_DEBUG
"lockd: new process, skipping host shutdown\n");
wake_up(&lockd_exit);
-
+
+ flush_signals(current);
+
/* Exit the RPC thread */
svc_exit_thread(rqstp);