diff options
author | NeilBrown <neilb@cse.unsw.edu.au> | 2005-06-23 22:03:11 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-24 00:06:30 -0700 |
commit | 46be925fa6f4796e732e16a020fa0ef9d48ea7c8 (patch) | |
tree | 7a2dddced28ad3382f41af54d0f311e9da593770 /fs/lockd | |
parent | 13cd21845d6a9729ca95e36ae6e8c669623fbfd4 (diff) |
[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')
-rw-r--r-- | fs/lockd/svc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/lockd/svc.c b/fs/lockd/svc.c index b82e470912e..6e242556b90 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); |