Commit 46be925fa6f4796e732e16a020fa0ef9d48ea7c8

Authored by NeilBrown
Committed by Linus Torvalds
1 parent 13cd21845d

[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>

Showing 1 changed file with 3 additions and 1 deletions Side-by-side Diff

... ... @@ -191,7 +191,9 @@
191 191 printk(KERN_DEBUG
192 192 "lockd: new process, skipping host shutdown\n");
193 193 wake_up(&lockd_exit);
194   -
  194 +
  195 + flush_signals(current);
  196 +
195 197 /* Exit the RPC thread */
196 198 svc_exit_thread(rqstp);
197 199