]> err.no Git - linux-2.6/commitdiff
[PATCH] knfsd: lockd: flush signals on shutdown
authorNeilBrown <neilb@cse.unsw.edu.au>
Fri, 24 Jun 2005 05:03:11 +0000 (22:03 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 24 Jun 2005 07:06:30 +0000 (00:06 -0700)
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>
fs/lockd/svc.c

index b82e470912e8352a8c24add072dd67b6ea852b5b..6e242556b903814bc6a79330f2723173beb0cda8 100644 (file)
@@ -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);